Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

clip-svg

1.0.1 • Public • Published

clip-svg

Convert 100x100 SVG files into clip-path: polygons. Parses SVG document and converts whatever path nodes there is. Each of the path descriptors will be converted to clip-paths i.e. path descriptors d="..." to clip-path: polygon(...)

Installation

npm install -g clip-svg

Usage

clip-svg <SVG file>

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

install

npm i clip-svg

Downloadsweekly downloads

3

version

1.0.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability