svg-jquery
1.0.3 • Public • Published svg-jquery v1.0.3 
Get svg as jquery object in jsdom env on node.js.
Install
Usage
var parseSvg = require('svg-jquery')
parseSvg('<svg xmlns="http://www.w3.org/2000/svg"><rect fill="black" x="50" y="50" width="100" height="100"></rect></svg>').then(function (res) {
var window = res.window;
var jQuery = res.window.$;
var svg = res.svg;
var rect = svg.find('rect');
}).catch(function (err) {
});
License
MIT
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads