Artistic and experimental library to facilitate special effects on svg path
$ npm install --save dazzling-path
Please have a look at the unit tests for typical usage.
var dazzling-path = require('dazzling-path');
var rect= dazzlingPath.toPathObj('M 0 0 L 0 10 L 20 10 L 20 0 Z');
var area= dazzlingPath.toPolygonArea(rect);
$ npm install --global dazzling-path
$ dazzling-path --help
MIT © Olivier Huin