Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @behance/svg-converter with all npm packages installed. Try it out:

@behance/svg-converter lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("@behance/svg-converter/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@behance/svg-converter v1.0.2

Behance SVG Converter

Behance SVG Converter

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


Given that you have a file with the path:


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




RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free