Nanoprogrammed Penultimate Musicianship
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    serialize-svg-pathpublic

    serialize-svg-path

    compile svg path data to DOM compatable strings

    Installation

    With your favourite package manager:

    • packin: packin add jkroso/serialize-svg-path
    • component: component install jkroso/serialize-svg-path
    • npm: npm install serialize-svg-path

    then in your app:

    var serialize = require('serialize-svg-path')

    API

    serialize(path)

    convert path to a string

    serialize([['m',1,2],['c',1,2,3,4,5,6]]) // => 'm1,2c1,2,3,4,5,6'

    Keywords

    none

    install

    npm i serialize-svg-path

    Downloadsweekly downloads

    55

    version

    0.1.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar