# 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)

Latest version **1.0.1** (published 2020-03-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install curvify-svg-path
pnpm add curvify-svg-path
yarn add curvify-svg-path
bun add curvify-svg-path
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-03-22 |
| First published | 2018-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | michaelrhodes |

## Links

- npm: https://www.npmjs.com/package/curvify-svg-path
- Repository: https://github.com/michaelrhodes/curvify-svg-path
- Homepage: https://github.com/michaelrhodes/curvify-svg-path#readme
- Issues: https://github.com/michaelrhodes/curvify-svg-path/issues
- npm.io page: https://npm.io/package/curvify-svg-path

## Recent versions

- 1.0.1 (latest) — 2020-03-22
- 1.0.0 — 2018-01-26

## README

# 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)

[![Build status](https://travis-ci.org/michaelrhodes/curvify-svg-path.svg?branch=master)](https://travis-ci.org/michaelrhodes/curvify-svg-path)

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

## use
```js
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](http://opensource.org/licenses/MIT)

---
_Source: https://npm.io/package/curvify-svg-path · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
