@remotion/paths
A package providing utility functions for dealing with SVG paths. This package includes code from svg-path-properties, svg-path-reverse and d3-interpolate-path with the following improvements:
- Functional style APIs
 - First class Typescript types
 - Documentation with examples
 - ESM import style
 
This package has no dependencies, meaning this package can be used without Remotion.
- npm
 - pnpm
 - yarn
 
bashnpm i @remotion/paths
bashnpm i @remotion/paths
bashpnpm i @remotion/paths
bashpnpm i @remotion/paths
bashyarn add @remotion/paths
bashyarn add @remotion/paths
Functions
getLength()getParts()getPointAtLength()getTangentAtLength()reversePath()normalizePath()interpolatePath()evolvePath()
License
MIT