curvify-svg-path
a rewrite of [normalize-svg-path](https://github.com/jkroso/normalize-svg-path) that does away with [svg-arc-to-cubic-bezier](https://github.com/colinmeinke/svg-arc-to-cubic-bezier)
Last updated 5 years ago by michaelrhodes .
MIT · Repository · Bugs · Original npm
$ cnpm install curvify-svg-path 
SYNC missed versions from official npm registry.

curvify-svg-path

a rewrite of normalize-svg-path that does away with svg-arc-to-cubic-bezier

Build status

install

$ npm install michaelrhodes/curvify-svg-path#1.0.0

use

var abs = require('abs-svg-path')
var parse = require('parse-svg-path')
var curvify = require('curvify-svg-path')

curvify(abs(parse('M0 0 L10 10 A10 10 0 0 0 20 20 Z')))
=> [['M',0,0],['C',0,0,10,10,10,10],['C',10,15.5,14.5,20,20,20],['C',20,20,0,0,0,0]]
curvify x 1,405,052 ops/sec ±0.98% (86 runs sampled)
normalize x 1,261,684 ops/sec ±0.97% (87 runs sampled)

obey

MIT

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

1 Versions

  • 1.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org