{"_id":"svg_pathify","_rev":"2864778","name":"svg_pathify","description":"a node lib to turn svg shape elements into path svg elements","dist-tags":{"latest":"0.0.8"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"time":{"modified":"2022-09-14T03:08:30.000Z","created":"2015-05-21T06:56:59.198Z","0.0.8":"2018-07-09T12:10:27.785Z","0.0.7":"2016-03-24T03:18:35.120Z","0.0.6":"2016-03-08T11:15:22.338Z","0.0.5":"2015-05-24T11:16:18.498Z","0.0.4":"2015-05-24T10:46:09.062Z","0.0.3":"2015-05-24T08:03:55.326Z","0.0.2":"2015-05-21T06:56:59.198Z"},"users":{},"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"versions":{"0.0.8":{"name":"svg_pathify","version":"0.0.8","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"17d99058f201353c4acc467190131aa6a63fc177","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify#readme","_id":"svg_pathify@0.0.8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"purplebamboo","email":"weikang.zhuwk@alibaba-inc.com"},"dist":{"shasum":"f4d6d723cac11bb4cb66077c0930f57d2ffcc230","size":2496,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.8.tgz"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svg_pathify_0.0.8_1531138227705_0.5249414617603245"},"_cnpmcore_publish_time":"2021-12-19T05:46:00.561Z","publish_time":1531138227785,"_cnpm_publish_time":1531138227785},"0.0.7":{"name":"svg_pathify","version":"0.0.7","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"5cf001b483592c70771c8985d314f8a3c00aa197","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify","_id":"svg_pathify@0.0.7","_shasum":"58812784c35900df9e877dbfc79c4ecb08decf01","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"58812784c35900df9e877dbfc79c4ecb08decf01","size":2198,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.7.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/svg_pathify-0.0.7.tgz_1458789512528_0.4930530725978315"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:59.677Z","publish_time":1458789515120,"_cnpm_publish_time":1458789515120},"0.0.6":{"name":"svg_pathify","version":"0.0.6","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"8b42c5b1cf84fbce54abb9c2f2f04f28a41cb263","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify","_id":"svg_pathify@0.0.6","_shasum":"62f56596529258afe97554f471bfeccf7c3186da","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"62f56596529258afe97554f471bfeccf7c3186da","size":2182,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.6.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/svg_pathify-0.0.6.tgz_1457435720200_0.4940108507871628"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:58.811Z","publish_time":1457435722338,"_cnpm_publish_time":1457435722338},"0.0.5":{"name":"svg_pathify","version":"0.0.5","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"bf3e08469ac23fdd40c425ab3c1399c91db6ff7d","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify","_id":"svg_pathify@0.0.5","_shasum":"9a4a5fe017ce4944fb09e407e82dbd40fa36d327","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"9a4a5fe017ce4944fb09e407e82dbd40fa36d327","size":2204,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.5.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:57.946Z","publish_time":1432466178498,"_cnpm_publish_time":1432466178498},"0.0.4":{"name":"svg_pathify","version":"0.0.4","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"5397b7e39be4f18ab7e6b69bca37e82354d30063","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify","_id":"svg_pathify@0.0.4","_shasum":"d9485e5d8dc7a99bc6b98fd41f9232859435c092","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"d9485e5d8dc7a99bc6b98fd41f9232859435c092","size":2189,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.4.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:57.088Z","publish_time":1432464369062,"_cnpm_publish_time":1432464369062},"0.0.3":{"name":"svg_pathify","version":"0.0.3","description":"a node lib to turn svg shape elements into path svg elements","main":"lib/index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/purplebamboo/svgPathify.git"},"scripts":{"test":"node ./test/index.js"},"gitHead":"7784bb0b634a72dc66abd9c9d455dff9054e0b50","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"},"homepage":"https://github.com/purplebamboo/svgPathify","_id":"svg_pathify@0.0.3","_shasum":"3952d57f360ac75c0def42f16b4558430c9e8985","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"3952d57f360ac75c0def42f16b4558430c9e8985","size":2218,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.3.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:56.211Z","publish_time":1432454635326,"_cnpm_publish_time":1432454635326},"0.0.2":{"name":"svg_pathify","version":"0.0.2","description":"a node lib to turn svg shape elements into path svg elements","main":"index.js","keywords":["svg","svg_pathify","path"],"author":{"name":"purplebamboo","email":"xhzhuweikang@163.com"},"dependencies":{"lodash":"^3.7.0","xmldom":"^0.1.19"},"devDependencies":{},"scripts":{"test":"node ./test/index.js"},"gitHead":"cae993f7fa00075cc2bd5445c58a4b87a11547bf","_id":"svg_pathify@0.0.2","_shasum":"1009a0b3e16d29bce1566d2d90e02051b83577ef","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"purplebamboo","email":"389920933@qq.com"},"maintainers":[{"name":"purplebamboo","email":"389920933@qq.com"}],"dist":{"shasum":"1009a0b3e16d29bce1566d2d90e02051b83577ef","size":2169,"noattachment":false,"key":"/svg_pathify/-/svg_pathify-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/svg_pathify/download/svg_pathify-0.0.2.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T05:45:55.341Z","publish_time":1432191419198,"_cnpm_publish_time":1432191419198}},"readme":"# svgPathify\n\na node lib to turn svg shape elements into path svg elements\n\n#install\n\n```js\nnpm install svg_pathify\n```\n\n# usage\n\n```js\nvar svgPathify = require('svg_pathify');\n\nvar result = svgPathify('<circle cx=\"500\" cy=\"500\" r=\"20\" fill=\"red\"/>');\n\n/*\n<path d=\"M500,500,m-20,0,a20,20,0,1,0,40,0,a20,20,0,1,0,-40,0,Z\" fill=\"red\"/>\n*/\n\n\nresult = svgPathify('<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1000\" height=\"1000\" viewBox=\"10 10 1000 1000\"><circle cx=\"500\" cy=\"500\" r=\"20\" fill=\"red\"/><circle cx=\"500\" cy=\"500\" r=\"20\" fill=\"red\"/></svg>');\n\n/*\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1000\" height=\"1000\" viewBox=\"10 10 1000 1000\">\n  <path d=\"M500,500,m-20,0,a20,20,0,1,0,40,0,a20,20,0,1,0,-40,0,Z\" fill=\"red\"/>\n  <path d=\"M500,500,m-20,0,a20,20,0,1,0,40,0,a20,20,0,1,0,-40,0,Z\" fill=\"red\"/>\n</svg>\n*/\n```\n","_attachments":{},"homepage":"https://github.com/purplebamboo/svgPathify#readme","bugs":{"url":"https://github.com/purplebamboo/svgPathify/issues"}}