jsgui-node-render-svg

Renders SVGs using PhantomJS, has a callback

npm install jsgui-node-render-svg
2 downloads in the last week
10 downloads in the last month

rendersvg for Node.js

Renders SVGs using PhantomJS.

var rendersvg = require('rendersvg');

rendersvg(instream, outstream, [ext = 'png'])

Possible extensions:

  • png
  • gif
  • jpg
  • pdf

Requirements

brew update && brew install phantomjs

License

MIT.

npm loves you