0.2.0 • Published 10 years ago

node-raphael v0.2.0

Weekly downloads
54
License
-
Repository
github
Last release
10 years ago

node-raphael

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

Features

  • static svg generation with raphael

Installation

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

npm install node-raphael

Motivation

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)

Usage

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

WARNING

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.

Example

SVG Server with Raphaël Logo:

TODO

  • More documentation
  • tests
0.2.0

10 years ago

0.1.7

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

13 years ago

0.1.3

13 years ago

0.1.2-1

13 years ago

0.1.2

13 years ago

0.1.1

13 years ago

0.1.0

13 years ago

0.0.2-2

13 years ago

0.0.2

13 years ago