jsgui-node-render-svg

Renders SVGs using PhantomJS, has a callback

rendersvg for Node.js

Renders SVGs using PhantomJS.

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

Possible extensions:

  • png
  • gif
  • jpg
  • pdf

brew update && brew install phantomjs

MIT.