Converts SVGs to PNGs

npm install svg-to-png
146 downloads in the last day
814 downloads in the last week
3 070 downloads in the last month

svg-to-png Build Status

Converts SVGs to PNGs

Getting Started

Install the module with: npm install svg-to-png

var svg_to_png = require('svg-to-png');
svg_to_png.convert("input", "", {dest: "output"}); // async, returns

.then( function(){
    // Do tons of stuff



Takes input, output special folder, and an options hash that include:

dest: Your actual output folder defaultWidth: normally 400px defaultHeight: normally 300px


Check out the tests!


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

v0.1.0 - Hey, released this thing


Copyright (c) 2013 Jeffrey Lembeck/Filament Group
Licensed under the MIT license.

npm loves you