1.0.1-alpha • Published 4 years agoCLI
@iamhaymc/svgpptr
Licence
MIT
Version
1.0.1-alpha
Deps
2
Size
3.1 MB
Vulns
0
Weekly
0
svgpptr
A tool for creating, modifying, and rendering SVG images.
It is powerful and heavy as hell because it is based on Puppeteer.
Installation
npm i -g @iamhaymc/svgpptr
Usage
svgpptr --input images/**/*.svg --render
Options
| Name | Summary |
|---|---|
--input |
A glob to the input files |
--kernel |
A path to an input transformation script |
--pretty |
A toggle for input formatting |
--terse |
A toggle for input minification |
--write |
A toggle for input replacement |
--render |
A toggle for input rendering |
--width |
A render width to use if otherwise unknown |
--height |
A render height to use if otherwise unknown |
--output |
A path to the output folder |
--debug |
A toggle for verbose diagnostics |