@trinistr/svg-coloring

    0.1.1 • Public • Published

    SVG colorer

    A module to create colorable SVG images with color palette

    Installation

    `npm install @trinistr/svg-coloring`
    

    Usage

    var coloring = require('@trinistr/svg-coloring');
    var colorer = coloring.createColorer({
    	url: "image.svg", colors: ["red", "salmon", "black"]
    });
    document.body.appendChild(colorer);
    

    Keywords

    Install

    npm i @trinistr/svg-coloring

    DownloadsWeekly Downloads

    3

    Version

    0.1.1

    License

    Apache 2.0

    Unpacked Size

    18.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • trinistr