Narcoleptic Possum Mob

    svg-center

    1.0.0 • Public • Published

    svg-center

    Lets shrink our svg just to the elements being shown within it.

    center = require('svg-center')
    
    
    // shrink a single svg
    center.shrink(document.getElementById('svg1'))
    
    // or 
    
    // shrink all svgs
    center.shrinkall()
    

    Install

    npm i svg-center

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.19 kB

    Total Files

    4

    Last publish

    Collaborators

    • wolfiex