clip-svg
v1.0.1
Published
Convert 100x100 SVG document's path descriptors ('d') to clip-path: polygon(...)
Readme
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-svgUsage
clip-svg <SVG file>License
This project is licensed under the MIT License - see the LICENSE file for details
