Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ahaoboy/metafile-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cli tool: convert metafile.json to image through puppeteer

pnpm i metafile-image -g

metafile-image meta.json meta.png

metafile-image meta.json meta.webp -w 1920 -h 1080 -q 100 --mode=dark --type=sunburst

Options

width, height

Default: 3840x2160

Specifies the width and height of the browser viewport.

mode

Values: light / dark

Determines whether the browser operates in light or dark mode.

quality

Default: 100

Defines the image quality when exporting. The value ranges from 0 (lowest quality) to 100 (highest quality).

url

Values: string

Default: https://esbuild.github.io/analyze/

Customize esbuild analyze url

type

Default: "treemap" Values: treemap | sunburst | flame

Specifies the visualization type. The default value is "treemap".

treemap

treemap

sunburst

sunburst

flame

flame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published