1.0.2 • Published 7 years ago

@behance/svg-converter v1.0.2

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

Behance SVG Converter

Batch-convert SVG icons to PNG for multiple pixel densities.

Usage

Given that you have a file with the path:

/path/to/svgs/cool-icons/icon.svg

The command be-svg-converter --input=path/to/svgs/ --output=path/to/pngs/

Will produce new files with the paths:

  • path/to/pngs/1x/cool-icons/icon.png
  • path/to/pngs/2x/cool-icons/icon.png
  • path/to/pngs/3x/cool-icons/icon.png

License

Apache-2.0