@remotion/paths
Advanced tools
Comparing version 4.0.177 to 4.0.178
{ | ||
"repository": { | ||
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/paths" | ||
}, | ||
"name": "@remotion/paths", | ||
"version": "4.0.177", | ||
"description": "Utility functions for SVG paths", | ||
"version": "4.0.178", | ||
"description": "Utilities for working with SVG paths", | ||
"main": "dist/index.js", | ||
@@ -9,15 +12,5 @@ "sideEffects": false, | ||
"license": "MIT", | ||
"repository": { | ||
"url": "https://github.com/remotion-dev/remotion" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/remotion-dev/remotion/issues" | ||
}, | ||
"devDependencies": { | ||
"@jonny/eslint-config": "3.0.281", | ||
"@types/node": "18.14.6", | ||
"eslint": "8.56.0", | ||
"prettier": "3.2.5", | ||
"prettier-plugin-organize-imports": "3.2.4" | ||
}, | ||
"keywords": [ | ||
@@ -31,2 +24,3 @@ "svg", | ||
}, | ||
"homepage": "https://www.remotion.dev/paths", | ||
"scripts": { | ||
@@ -33,0 +27,0 @@ "formatting": "prettier src --check", |
@@ -1,24 +0,18 @@ | ||
## @remotion/paths | ||
A package providing utility functions for dealing with SVG paths. This package consists of code from [`svg-path-properties`](https://www.npmjs.com/package/svg-path-properties) and [`svg-path-reverse`](https://github.com/Pomax/svg-path-reverse#readme) with the following improvements: | ||
- Functional style APIs | ||
- First class Typescript types | ||
- Documentation with examples | ||
- ESM import style | ||
No dependencies are needed, meaning this package can be used independently of Remotion. | ||
## API | ||
- [`getLength()`](https://remotion.dev/docs/paths/get-length) | ||
- [`getPointAtLength()`](https://remotion.dev/docs/paths/get-point-at-length) | ||
- [`getTangentAtLength()`](https://remotion.dev/docs/paths/get-tangent-at-length) | ||
- [`reversePath()`](https://remotion.dev/docs/paths/reverse-path) | ||
- [`normalizePath()`](https://remotion.dev/docs/paths/normalize-path) | ||
- [`interpolatePath()`](https://remotion.dev/docs/paths/interpolate-path) | ||
- [`evolvePath()`](https://remotion.dev/docs/paths/evolve-path) | ||
## License | ||
MIT | ||
# @remotion/paths | ||
Utilities for working with SVG paths | ||
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/paths.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/paths?minimal=true) | ||
## Installation | ||
```bash | ||
npm install @remotion/paths --save-exact | ||
``` | ||
When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version. | ||
Remove the `^` character from the version number to use the exact version. | ||
## Usage | ||
See the [documentation](https://www.remotion.dev/paths) for more information. |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
0
231622
19