UNPKG

svg-path

Version:

Manipulate SVG <path> data.

10 lines (7 loc) 218 B
var parsePath = require('./lib/parsePath') var Path = require('./lib/Path') module.exports = function (pathData) { return new Path(parsePath(pathData)) } module.exports.parse = parsePath module.exports.Path = Path