1.0.1 • Published 6 years ago

clip-svg v1.0.1

Weekly downloads
5
License
MIT
Repository
-
Last release
6 years ago

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