nano-svg2js
1.0.9 • Public • Published
nano-svg2js
SVG to JS.
API
parseSVG(svg_text)
Return Promise
object of parsed svg.
optimizeIds(jsvg)
Returns modified(in place) jsvg tree with short ids except symbols identifiers.
optimizeJSVG(jsvg)
Returns optimized in place jsvg tree.
packJSVG(jsvg)
Returns packed JSVG tree.
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.9
1
Version History
Package Sidebar
Install
Weekly Downloads