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

/clip-svg/

    Package Sidebar

    Install

    npm i clip-svg

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • ainalem