svg-transform-parser

0.0.1 • Public • Published

svg-transform-parser

Parse SVG transform in Javascript

Installation

npm install svg-transform-parser

Usage

var parseSvgTransform = require('svg-transform-parser').parse;

parseSvgTransform("translate(10,20)");
// {translate: {tx: 10, ty: 20}}

Compile pegjs

npm run-script compile

Tests

npm test

Readme

Keywords

Package Sidebar

Install

npm i svg-transform-parser

Weekly Downloads

387

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nidu