wrapper for raphael for usage in nodejs


using the beatiful SVG library Raphaël in node.js to generate svg-data.

  • static svg generation with raphael

make sure you have node-waf installed (contained in nodejs-dev package).

npm install node-raphael

NIH - not invented here ... srsly .. i want to generate some good looking charts without using javascript on client side (because this is lame for none-interactive images)

var raphael = require('node-raphael');
var svg = raphael.generate(width, height, function draw(paper) { … });


jsdom just implements a DOM 1.0, which only covers SVG 1.0, but raphael uses SVG 1.1, so features like text may not work.

SVG Server with Raphaël Logo:

  • More documentation
  • tests