canvg

A port of canvg, which pareses svg input and renders the result to a canvas.

npm install canvg
1 downloads in the last day
14 downloads in the last week
36 downloads in the last month

node-canvg

A port of canvg, which pareses svg input and renders the result to a canvas. http://code.google.com/p/canvg/

Usage

var canvg = require("canvg");
var Canvas = require("canvas");

var canvas = new Canvas();

canvg(canvas, '<svg>...</svg>');

/* and so on */

Todo

The canvg code is pretty much untouched. A lot of browser-specific code has to be removed or rewritten.

npm loves you