{"_id":"simple-svg-tools","_rev":"27-76ada460fc754572d3ea618f2699cf27","name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","dist-tags":{"latest":"1.1.12"},"versions":{"1.0.0":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.0","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cyberalien-color":"*","simple-tokenizer":"*","cheerio":"^0.22.0","svgo":"*","tmp":"0.0.31"},"gitHead":"74143d875810bde437c2546c5a1a6a5816664415","_id":"simple-svg-tools@1.0.0","_shasum":"d668846ea7b6ab8ba64fe743fec0cf413a733085","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"d668846ea7b6ab8ba64fe743fec0cf413a733085","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.0.tgz","integrity":"sha512-t0JhTIXQoNCs20yXuPcLeS6tBIwl3azb1vev4adB9GORfl5AyFvInvDBDh+o1slyZRWXDoetJY9VuIesbpJL6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjRDeefMWMv1kuOxbG4DU4P2+Jh9gxXkTtXaWau1QBqAIhAKODteC4Xw8bepLq8OSrQGvRrQzbIJbqklYqVrxQBrdI"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.0.tgz_1492544354781_0.6985734039917588"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.1":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.1","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cyberalien-color":"*","simple-tokenizer":"*","cheerio":"^0.22.0","svgo":"*","tmp":"0.0.31"},"gitHead":"8f17abb1aba320155199dc594ac1530464709b3f","_id":"simple-svg-tools@1.0.1","_shasum":"dc9a5e393b858541ebef51335e11d7d444d57938","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"dc9a5e393b858541ebef51335e11d7d444d57938","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.1.tgz","integrity":"sha512-faw2AgEc75BmvLk9gGKck6GtdA2YdNM8lpqfySNAT5sm1gsN7ctgbr+55wSVJ9ReZJ1wIL81yljukIDmiemrQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQrGT1LK/D1XX53ltuYtrfbQVz2O8FGQQXBFNzQLA1yAIhAOmUf9Gno9QMSXkzm5Z3K33tG278GX93Y58ut0wpf0/b"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.1.tgz_1492713280906_0.42021953035146"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.2":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.2","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"*","tmp":"0.0.31"},"gitHead":"daf009aac981f8c19ab4332db1ea1d7246a4cfe3","_id":"simple-svg-tools@1.0.2","_shasum":"aab2e1caf5fdc99fc44549c7730410627f9b0c1b","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"aab2e1caf5fdc99fc44549c7730410627f9b0c1b","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.2.tgz","integrity":"sha512-O+JJOkbzgQ+e15b5z9dyjH+y5Qz9u3KltdfLWl8qF7GtjulDCClGg6yO1pSKO+c20BUFgkP+F1GHvEJK+Y1aGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFI7NrGLiCGf2E7Pnxrtcz88h5RzPZv2XMCvljzQmtofAiEA093/byDM0UyvQMGfOYpsALvtDcK2xzK+0OT/pf49U4g="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.2.tgz_1494185400566_0.5364312266465276"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.3":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.3","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"*","tmp":"0.0.31"},"gitHead":"8859265768892ab0ede35a1a6fa7bf802d9dc4c0","_id":"simple-svg-tools@1.0.3","_shasum":"87f92631f26b9d53395bcf04b7492751e5be5b56","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"87f92631f26b9d53395bcf04b7492751e5be5b56","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.3.tgz","integrity":"sha512-fdvrcKLUVbl2fqj1Rr2z6f6AvO1EfgT1xjgi5vmt+sWX9egIRz8B61hKpuRxtCL9DNYEMoVmDkmczvsuFzxk5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOZdu8QMX3owJsHBpA2/+2C7ZBLKFwtCkExwRMu27/QAiEAl3BvqnmjqlcGW0/COzkiTB7Wg3mtf1kkYy4dI9ZT/0w="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.3.tgz_1494453001899_0.3784610282164067"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.4":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.4","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"*","tmp":"0.0.31"},"gitHead":"cbed50625ac35de1879c83add1686d5c455dd059","_id":"simple-svg-tools@1.0.4","_shasum":"7dea38e326f4e68479b15dc73daa5e68c63a9de7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"7dea38e326f4e68479b15dc73daa5e68c63a9de7","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.4.tgz","integrity":"sha512-l9PexnI9KWwzvbWh7FSjfkkWPH1mcm9m4gc1+n2gLh5CtBJgUei9pIl/5JH6OwnKk7VPbcpgIz4r2RRpvnfl5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOXYlc4bc1hRX15qzXfJoaSvoOCPl1VfeJC333wBYA/AiEAg7OpSl/TwLjWf0JY9LM3Dw24ouuuGQpNwblfBv+quMA="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.4.tgz_1494483623440_0.7896165715064853"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.5":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.5","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"*","tmp":"0.0.31"},"gitHead":"779b6a510e32c52819a54f41fd8fcf3dbaec9d9a","_id":"simple-svg-tools@1.0.5","_shasum":"b94eefa68a8828936593b4b94ab4ea0bc2524ead","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"shasum":"b94eefa68a8828936593b4b94ab4ea0bc2524ead","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.5.tgz","integrity":"sha512-SeFduFRhsEmIcpdO+dc/gvtMmzKB/tENWCIv7h8aTDVG2rjv8/fypxtJ+zPL5yGKPaF6baeiVXV8iPpyWr4Mhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXproeyEniTtPX05z+L0IAoAnBZR+i6iUgR1NOofRU3gIgDAs9KdGadxCZfxkJH5DeFWjLArFQdelksoC089ZbTEw="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-svg-tools-1.0.5.tgz_1494621324741_0.39268576307222247"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.6":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.6","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"3f9c38b0fcc219483a1b35b3935d2e89503ca8c0","_id":"simple-svg-tools@1.0.6","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-ISWTcPMSbkkaAsjkCZoBNUX74X1am7953QOI35DBgpxQ1URAzVcKNn8dg38LpwVRB23eyJR7epRxquBH8cAk+w==","shasum":"87df48348d1389c0918b43b2c644ece442d3d466","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXP1nUK7b6X2vyOecS6UnjhTKJ92gooJmD3Np9T9pL8AiEA9mjyTCi/AHIfcR+B6EnPtNKg05JK74eppSJ7tl91nPs="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.6.tgz_1509627217160_0.7963046543300152"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.7":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.7","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"7047bc528a5d4ba8c167878d4e2d8d612033a1e0","_id":"simple-svg-tools@1.0.7","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-paDETnuw+Yhhwb6S842g0qEZ27Ip9qh9wnRy5FbTBDy+fXvAj7Pdbu1K/DuZM8HQ6kRrOaUuF7m8v1+wUGM+6A==","shasum":"febbb20265a2888cbe2d0ce244006e90490ac776","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICk4KYKOLtS6UcZz6p5qzydj7FFOmQUDif1lHVKRnrlSAiEAk+P2Tvu442yfu+kBD7IDEupZtu4oitKFEcCOnsf8P1k="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.7.tgz_1509634214984_0.6855656928382814"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.8":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.8","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"ee29ddc09a347723c53098059dce5942e88af37e","_id":"simple-svg-tools@1.0.8","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-mzEWlLtWJMbIgiZCn4aW/aia6b5UU8H0RDOG5JLyb1TVrBjSwiVaYQFBJJ7eG5+qKzUsuy3W96Ta0MUqxnAkXw==","shasum":"bcf61c0fcbf4801abb7e636a40918ad9487ea8bb","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6kGmkSgZy4z142n4wjUpIz9HcOHePY7ATztKVnEPzWAiEA4uxaSDdOxARAQki1nwsqbpWhBU6JVggFvtycZiDdSHM="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.8.tgz_1509637545946_0.6345066616777331"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.9":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.9","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"6dd4a05c72fab5ff7f6d818d69ee5092db3fa38d","_id":"simple-svg-tools@1.0.9","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-Z4dJM6uesqpFC9BQS4MYEnVTyUmEj5CArlTfsp9MEiaNyBNje7mbh/3/JbpQP1CBjT57IOBu+uXyG9awkPNwHA==","shasum":"743a965ccd7cb84f24b74369cf28c4ac9f60a451","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB0X5q86MB292DlrBFnHR2szhUWNjXn88IGw2a2vDRwAIhAOFyPCJC9+cD0B4gQDoZDyZR74Fal62ecfe+ZXPZ+HmU"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.9.tgz_1511181070978_0.47024913504719734"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.10":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.10","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"0ff2944e9a82dd8c5bb2b6a60fe31dbfa55aa17c","_id":"simple-svg-tools@1.0.10","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-ebxw42222gQcYUafV5Uw8YAxJYlVv+l9BJPzJsy3/Wg1qDtNCUag3aefeV96lGL7EN/9TyxoJkN+c/45+jqw4Q==","shasum":"25a347f73599b98084fff9d144e4256d9769c9fc","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrITqUgOHdobwmdS1CApz0gI5UWPPhVr33G3OOdru4+AiEA7ZCxI5Zas2PGoRywfWMNkJYkEVP297Q9iEVMpdSiwHU="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.10.tgz_1511196041506_0.9669813506770879"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.0.11":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.0.11","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"a6e01b819e2cf58be508d09a12169fa269125f74","_id":"simple-svg-tools@1.0.11","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-h+LIkoyEU2MOmLwMpEiS8cWReDp4M/SnE7rTrH3zRK3NVJvDgII0v6g4zFLdhuK2MCbes0DM1lAw3bfjC07rvQ==","shasum":"60f6105ef4314cc37c47b9f0b8bc8207a68bf27e","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.0.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWvUYBu/l+3OLC9N1n8d9emi0OGyL++MnSxFU5oNJI7wIhAPj2PGXG4vUcjT3+l5RuOBpx4s+811vyAH9f1LnEI/mP"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.0.11.tgz_1511198088086_0.009194516809657216"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.0":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.0","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-svg-cdn":"^0.2.1","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"ffc57e99e349c3d6970c7d7a46b1a4909953b111","_id":"simple-svg-tools@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-UUGP5CWYvaU2PpUbES6+ja1T9F34f4mvpCn+axhExCVBpbpGVGYKZFIWSqhm9fDtYOAMvvtSb4Egu8CbgIr1PQ==","shasum":"05cbae599862de807ee796a91efac72cbbcd1e2e","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGEvqzUBs3WdfLy8oJ+DsQEWWxmbAYNkGmzSiHGYdqqAIhAPINOGF8x2bRNd46N3byBxTj36Y0ohTdh2pU3U5L6RBN"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.1.0.tgz_1511542343607_0.17932865326292813"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.1":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.1","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"3336cc9a1c74237bfba599fcd5e91a19725d9f96","_id":"simple-svg-tools@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-DJbF2TzR78ZlOmTCqF/NNySDY6jfErCGBasQuw78vIqszEjvqh0+FX7G6adub5R086/weJVYnyfSQg3+50DJWA==","shasum":"1c191761668bc455f478f98536920cb80296e497","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfr73S0W06QLD4U852ba+mFp95N4s/n11HumKTx+K1OAiEAoVN60ackVN22UvNTL3gHisU50Zbt8EW62xg24XSg3Uw="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.1.1.tgz_1513693855959_0.019769608275964856"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.2":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.2","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"dda116fcbc55a1815c9016414fdf4796ea5b1d62","_id":"simple-svg-tools@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-Y1DLRtAMqhPlc42/aAQT9J6wbyKZeltGasFSEmvrBZ64hNeptQwu7aFbHgxPokKYYNYrmziVEenl6UCDKXaCNw==","shasum":"44c1c10d2f6c7e887ff0291f8136fb8e879cfdc3","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1rNBJhnApMjftd6zAzFo9329UBFy7FGay8Twdp34BOAiBkPJIZeE5L+NSg6nk2hijj8rOh3Xov8yNng/Zp/WDCRA=="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.1.2.tgz_1513697240571_0.9680606236215681"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.3":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.3","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"e6e6b381652c0cfd602a6d29d293513301b2e2e0","_id":"simple-svg-tools@1.1.3","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-8vx82UB3nUminM7O84XknuieU+DpgmrcZtAq+N33XqANvr0zGT8QCC3k24wMIciI4Gq8O0uhDiq3lrW3YeGw7Q==","shasum":"39811c9f094217998109b0fba1f93397cede141b","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEgix0Mty8d8MEQFhgPo5P4b2H9wXrXkdVS0XUlIB1VAiAQkP3RiSRjbaDIw4RQ9zc2VgDzutdTSblGiS+kiv525Q=="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.1.3.tgz_1513870343856_0.03951789275743067"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.4":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.4","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"babel-core":"^6.24.1","babili":"0.0.12","cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"25abd55da157b09a08cadcfe8f04ddd8de09834b","_id":"simple-svg-tools@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-ME14H8XW7yTBiYzBprHhiaCAXnz0u0XuuLGyC7iwaPMxujGQ5FCYB3mu+lytx2/Uz9SPrJY1Me+HWG6DAWOUxw==","shasum":"a9c1eb3eb8845696cc838f60ead2db6debea72db","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHi4v8VGSMVERYX4hjENd7YC/WIZa+7vNaKpVbEX3a+EAiEA7ColBxPL2Eh8D7mjNe74sLr2GCJXde3qCGI8pwnLX/4="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools-1.1.4.tgz_1514203498365_0.7138771656900644"},"directories":{},"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.5":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.5","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"5388c7c8dd1a6d535b201696e991df8a275b6728","_id":"simple-svg-tools@1.1.5","_npmVersion":"5.10.0","_nodeVersion":"9.4.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-hR3fa0LhBFqzc1Tg0iCQ3tSX9Dlxy79Og6S+FsJ79uo0bUrNRVQ6Owf3noYR0CkJqRgMR2CMUGrxmy9scCtK2w==","shasum":"c7eb4894cfeed96316c792a0c8ae425531af3ab2","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.5.tgz","fileCount":36,"unpackedSize":196354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa//QuCRA9TVsSAnZWagAA4j8P/AjyovBErjOkwKnuOOY8\n/dZb8n0ZiSqt0SF8Dzpy5yDzSQqV1Uq5jPnD65KI6lQ9oYr6HenI+Qvx/rri\nUiBitL/8NGj3l7woTHufyhLJoGzTVTpaaTsWVxUsRBoEA2P93SA2vMvZL2aM\nAbpxLEydjREJY2pKSXKII12vgZd8I/Zj/g0hapHEI051jyR+Mycc6cyFdN/X\nYNVA5dRxXxzraAdudrog4tmR1V2Qi6xUapmWGHLhi91XTgLD7lmQw2apXvIq\nXD258d00LTtivI6QDLBubPvNIaX4l9/h5uCZ+tVMkmkPv+Z6bVbtq+CBmFx6\nHKK/pW65tDKhfgkJTX+e0a++5HYXeNigQ/mm0nzsRcu3PuP+TlCIq41k+w54\nZ+Suioru4SEUm8+BYPnz1s74D8QJarNPlBz7hkvFEB8OH4vv/EmvEVD7uQA1\ncHl6Euvw3J8D7RajI9x694nCe96ceTFV0qCEikiDatLHBL681d5r4XaXdBUc\nbZFVhLA29pZbS6mwdPEC3QPZ4B3Y3iKwvN7hM03kUn+E6OJ4HVUOYCuinwyu\njwGgu11FeZKwnjLpZDAVMLDAH7EGeIhZdyUQUKCTORgb4pkau6co676UZsIJ\nyk+pNxPpKLLoEgQbMck0a7JvDSxeyeYEkPTrA1MVI11uVVTBSoLNu2SP369P\nHPL1\r\n=4h8L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuQmj7W/YMjBVCEziYbbzMYEOX2H/86Oy/Rc6PXjuiiAiB1ZveNevocr0ESf9caqXhYtDqb3ZgapeYSEIcJjuS8YA=="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.5_1526723628702_0.7250404414389315"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.6":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.6","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"d3cf37ad77c765623090c0a1dbf3862bd93d8df4","_id":"simple-svg-tools@1.1.6","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-j5z26r3xa4WrQMpWDVCiXZCrS81K5QFCGKYfS1kbZkXKADjisa2idXkLfObS4fGHl4enb9p6SWjKORVEEqjPIw==","shasum":"da30b2b5d387e6be1f9a72719c8cc6963264c56b","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.6.tgz","fileCount":36,"unpackedSize":203368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmMJUCRA9TVsSAnZWagAAMWEQAIBPvuTXOpP2riXYGIDX\nXtdJz5Y8xzfUBuLhlnds7z6ML5FHzZ7A4m7svbQjTNN3a6nu0CHymNS1MM1T\nzwcKLjM/efyNfaPUFYE+w4HoHsgU3Rq3iZ+piXyHtFVVLnlP35YddgpRS62R\nTBdxsc5gGa0eDI9AoQa4tRux5lG5MydHwJRoUC/FksuWVeAIII9+FFKWvm6a\n3ltxH6vgI/PsxhVXSwDbqlxaTPXfULO4Ez5uYcooYPV9xlxweQkC76uqbxg6\nIE0Vb7ihwQ2Ta0fasQ1kQ4DT1iMhzyJ20kXNFDdVO0MDJAxRj3JcoY82+d8F\ndiXN+Qz+siw8Sx9nKBoeQE7d2ESsS7is5gI/5wV/omI7Mk+5LIc8P2uf14N1\ngerX1nJ/CO7elGDFfRbmEn97lZnhH17g+scxgJkR27IQNWzGMJdo25vo0gfh\nc69PVu/LI3xfphE7Q1n7utJHtD0SlVI0F+hhgGVy5jgpG+kJpXQWkXCcVw/k\nzyHXglpiHB6fDaoxrt+ZKdMVUNV4+3xMfGf+1cs5lI2QmxzbsP46D/6Uis+k\nUt9evMsnIzm9fSg3AOSXYsKOPFs8/dU1S3SEgesAxmWc17ox44GjtbN5yd4b\n1yj5eckn1i4cZMFwxVqD05zfw38dNRqz40UBKZDB9HSkq8Db/MfXtDJ1fnjw\n5M8d\r\n=CHKZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsChXpu3lWD3yC9MCEllriB700AHUT1Xt6qbmkyygpdwIhAPV0AU9MoiiW8pGooc7XIyGqqVs7sjAiAy9NCQLCwWGg"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.6_1536737875327_0.31924640719704866"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.7":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.7","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"578e634ea9ec7334bbbe3291fdfefae8fa6ab67d","_id":"simple-svg-tools@1.1.7","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-ghoUpJDidCRpfXiVK1lQoClqet+DcIRGjG06pYanxjqq82V6GT5gnQTKZBM1nYbrL87nSK4a0FfVHOTHIQGjEw==","shasum":"8b16e3d4abdf9c3b3cb137e7db9d3d1b0e17ec05","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.7.tgz","fileCount":36,"unpackedSize":205879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpKMXCRA9TVsSAnZWagAAsekP/R1V/S9Ry6LqVc90qe43\nspYa9sL1yjjd/8k43HzPtwlafqZ7KU5aCCiYBx/erwihTAbG2RlMb5bI7143\nUUyFvSRGI2fvvjeWuPVWgZCmCN3XkMI+TuHE7A5G3JthmiViwGtzngta2I7p\nw42J7Yq7NC84jbEdSRhpj9DLg1+7jVD2bmldSbtjrcpr8ZMl3uVDck9mYJC3\n1Lk5IKsGSFUQiNldXcdEmXNHH/UvwvSyNMXOcK6NOQf7mw/Vw/hOv1yP59cl\nA/f2Z1mQh6o2P5pF/rIExks7wN/hCc88X/bZDgMNaAdDwTKgqw6h/+8nPuZL\nGoUJ+9ajahPgAbapl/u38F49PViEzW1Y/amnugwD5llj4WM4vF0eqbw7kEvA\ninEp09ahKHwgauv9CAF9Xell6vb5sOcYf+JjfzOq7u3m6O+Suhyuy9hBB5qZ\nWYHSyx1axEBAV3PM//iWw6ch9Z80mdxE5DsOEeVpgZgGdvm9WMNLtexq9ZrP\nXhe+gwFTXz/DsB3cg5olaGmaqVVzmo7Mvx3b55T20GXbcpEkWTb/rCPT/OqD\n+YgxTTA3mhoE3ksDZ1I/MzmTdyUFcjgRvrWWGMB4aBwBxHmqFQbHvY3H3fAK\nSCADPgy2kkVDXrFeIs4gke3TZtl7avgHKBPajNbqdcJp520rdW48LlQI4ecg\nPTAU\r\n=SEw2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1x7cI2xW3NpM2hKMRI7UohS5MEDDNJQITy9Rf1kZAvwIgaBI+5nu9RXhg0Txb+DkVeBWwZlk0Uk2gmyD8/OwKLrc="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.7_1537516311055_0.41833369873287607"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.8":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.8","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"77fe8d7e43a052c0a72ce34776604f1c0d39ae4c","_id":"simple-svg-tools@1.1.8","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-U0b6T5v3iSTqnjVoyMf0cx3wrIrsklXYlWicRqwPsV7DIJn6v0t8/uU2seoxG3fTwXxHJBMUDGpd46Kjr9Reug==","shasum":"d03f170d73808b43feed04ddaba8b3d851810ea8","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.8.tgz","fileCount":36,"unpackedSize":206355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpLW3CRA9TVsSAnZWagAAquYQAJWQ6So/dYR+M7GIfyPS\n2Vzme7cUVL+o1fJDQzFAkS/SpsY39mwgIccd1okzQZkzgB/EY+3PSFk5lZj6\n+6ZzCB0Q4foFyOPC9sAm0ryZurWA3NyTRNv/YdW+pW/Y1vVG5QHOUyqg1zsX\nzSgZRfVj0XcKunUJZUVH5ci5XwgJfBCJk7DNuDcRUqqZf6cLsosMnioJuA7M\n7bKhr/ljFhNuZn4IZlZBmCJndSU3EWoIUoeJIeCpn0TQO/KMS2cICPGBkcyC\nxNMhn/eeF5TzooLsz1EvmYb2hfQZCDmrOizRz1zE/XgGgdRda2AdpBXVUWl+\ne/ccNMa6cpM5NZ5z8rkHyh6THeHze32A2SE+Gd0rfF0KRvVL6ZCy35jnN81G\n/zuG5tJJnBq8AfOYUNTdQ8+GHy1pR7u6WpRLNy5voMnWnkOKz3YcNplyIbcn\nI+CBs7UKPo9BcipjeEslXs4MN6m5J2wjE9idLwlw7PZXqhS7jszL84v5rsai\nA/kCmg2qua7tgM7fb6K44Flexad4I4EbXSudA7IC024eeE7oiw/t3XmIp2BV\nd9evjxnY06/yQaZUt9UPpWSuzDTFaLTNXY93P0FlKOVAkZ2Ve/VGohvS8Um6\n7lhHkkIS4LQWJ2BosmVyxTC/7S2BOl6M0Bbc7lNyywFZMkADKUpCprIUnuTK\nJrTE\r\n=o1kV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSdsp4U1JvyFsyABLQNAeampdwmIpDZKAeQ7ecbtPlIwIhAMhOnVei+YBhyRSaYvu/Z82YgppJBB6i0QaRswenVm5M"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.8_1537521079043_0.726461182889282"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.10":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.10","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"5169fdcb29ea32a32c7bb9bf9152626af11a301a","_id":"simple-svg-tools@1.1.10","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-nhEAYNKXEkBou+hwuVopdmA/VHPna8Olv0otpfoZDzZdsea989MOO4suGKCHrzIgihE5Cj3HPKKSBYMCXwkJiQ==","shasum":"653ffd8a05fda65d2f7d9170419c91c41a3b72f1","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.10.tgz","fileCount":36,"unpackedSize":206647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpMJECRA9TVsSAnZWagAAQ0oP/RUtGJTeeQ3biit7IQ79\n7Kohvi6UhTawuEblJK9v/YjH4aXSRxjv2TqZcEoxPTPPa5zzGrkhRrOLPXOC\nCYPaoTygU/O8/QrIpWqS/acO+3HIULH7FBNqh9YO/jGbbzG30Da05dqheg/E\nvCBcK5+zz45bP6o7Ayuq/XlVfRac75FSTHpihNkX2kB85jkJnprYWzpzXBij\nx2OghpwCyoNHBSjLdLDdjf/qpwc4rps1FJR1e4tuFl7nuNwwExOukyNulM59\nT9fo4OGG7wFAQtb45wLmC995Au5gBWTpPd9TOxTSW7MWpSi3OujW4lh7MNwc\nV4R7vMVfraiwKZS2I1f0vE7VmfyAqRWNEJ1VeNvnDo7H+vwShBzVZrhVV5Z/\n8iKABX/WPn1hB2EBpTx7ExZgmqKHGcMHBRyWgllarkxlboYYnDSdEIbE1RD9\nOrPOE1O5lLy6dRuuT3/I1U5LUGwSOGwg+dV/Zl54edht1lK0c29pgs8s8Qfy\n2xArukyqwNAkY2F8QOe+BzLYib6ZNzFjlQbqKYbd+NB+cJRhr9Sri2zcYGY4\nUZNHYcFveUHgUJ3Q1+FliLZ+bS3t4OH3flHDJ0mHyBgC2IsXObRb8a/k9gRt\nu5zzsV9xj/g2D9hgZRZWY2gTBIE7DbgcyubSjorkP2Tbcr/E2z6HptPUwKTo\nS7BS\r\n=k09u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgwRJZmijYy0xqVNLWHV2jyAK6a/ci7TXH1ONa3YMwQAIgSwgaIbgxQzPJkMRbBpndjlnPPzuDT+oF5fv51hGyV1c="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.10_1537524291753_0.3441340235093673"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.11":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.11","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"1143a9631e040eeac4d653e57530d762711cab4b","_id":"simple-svg-tools@1.1.11","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-A7vPYmZuwkV9bjI4xW80QHtnV+YGdnzmBithdsc00qmf6UTi1+TTAyudisVJjqjRhJNGv/MzMiQJ03VoiG7Phw==","shasum":"3f24df3ff2872d35822c29e3b9d1769dfbf25426","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.11.tgz","fileCount":36,"unpackedSize":208188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuSUWCRA9TVsSAnZWagAAeioP/iHc9AWjzk57t95BzhE2\nyDCqu4Rtj3un/9VjtX/lSeRVxWGuvrdILfLy4qYQLT6TtRUioyJnhaaTvLo2\nARPThQf69ris+l7nAWjVD9xP+4xhru3dgwlgs6H+eNm942xg4KfIL73BHnuZ\nvXCYS56FgZVUultigRT+f2DxBZbW3a435xZQ3dlObzx1SGjukZ/X8FgVqf5m\n32SF8OvwyRQNSYYeMuFojYjzREn4S96k7ZSvTMwcVJUWz3RJFLdfdPLSP2Q8\np6fLAH/NSg7VjoP1vo492Otcs4XRaSL5+e9uEJ0sWasUbbDtAcUt1ZiWZjuW\n6xADl5YTSvZTRjoqDYcBnOCNa48SrV4BPAJS73jrVoDYedEHQdclZv4NTjOQ\nAakNE3Wlbv5rI+44SUTsAdaKQMVxmj0NiZBsMmAznGv+VQ2te6lDB+Ah0cUl\nJLl8/NvitvxkXyVKN6+VhL1iepVdjirPAQjSFQqaalRA+CUREgwBA5T0Lq9K\nfk79G++Jp7P+XAM79oMBlOOhPDP8rF5x9UeUUoF1Y8sGBeVfXktyuYSH2Odh\n774VQcftQJqW3yEbIKYxKlAJxYL8lCGdcz5dgQZZQ8A5cbR28MwrsJlSvAbf\nkER7eZMjYXps4IgZTu/8tPitsbqjrzvE303LmMnyZgR91Ji+J4oyMSpTkVpg\nxmOH\r\n=oLHW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6kg+3ruUbrUdBlrj5ItFd83oap05S5osgJfufoRkWRAiEAp6qmgWCsP49jKLkCNJ1nBVTlpKt9i19oqrBW4PyEBkU="}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.11_1538860309111_0.4244343881841084"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"},"1.1.12":{"name":"simple-svg-tools","description":"Collection of functions for cleaning up and parsing SVG images","author":{"name":"Vjacheslav Trushkin"},"version":"1.1.12","license":"MIT","main":"src/modules.js","scripts":{"test":"mocha tests/**/*_test.js"},"devDependencies":{"chai":"*","mocha":"*"},"dependencies":{"cheerio":"^0.22.0","cyberalien-color":"*","simple-tokenizer":"*","svgo":"^1.0.1","tmp":"0.0.31"},"gitHead":"f4b6ce11bcabe05e2f9756636765d249bce9c649","_id":"simple-svg-tools@1.1.12","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"cyberalien","email":"cyberalien@gmail.com"},"dist":{"integrity":"sha512-IFzkoAwOsE7F0J3FODgMXZ+Tvb8Tm/1X+jmQAkR2bRtet24GQrrvnhLtS3alZ6crCc27tLuuKYajjruRehKeqg==","shasum":"8274ba4de58cca2392169829b4e70b2e74164517","tarball":"https://registry.npmjs.org/simple-svg-tools/-/simple-svg-tools-1.1.12.tgz","fileCount":36,"unpackedSize":208220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuS6XCRA9TVsSAnZWagAADsYP/20IbwhxKPdZ7Zra4hgE\npd4aTkFPodIgRxoB4GZ0ObVnHu/T63yCTUA8Osur4a0sbfpIr+YYqEX2NVsM\nHvBsWGT8rQ6WMwXD9Efdpf0uFAcK5GLsFxtRldguxleaVbDPIaZg0DtjUeoh\nfvMQL9bjojovS9LqIx3VFW7aAUHPUPpbXst+r/YCmy3hCuM8YRDvwTxv6WBX\naXzXTgM0e7niVAI/F6aujwKahglPSAR9lAeintV1cjXSo+L5H7qf0WirN4S5\nEcsuWmqK5Rzt+X7CtHV6+PfFRrvWqbP3EO4hoRPMequRa6ynDbSfGiXyS984\nHnznSobrC3rNRIyLdEEv9oK+f2Q3udLBPKxxSWchpG6lh09MD5NlcEqF0Y+h\nWsQyGkf3iGJdjz5L2ffRppoJgzvJIoEHDag2qkVFhWfwgQAma+qFkmybfQxl\nwofIOdTSPLuk70yKWjtMhJBdRLTKqSPXWrF/uYMIS1vhh7fB6JD16yBUKP/K\niC0wYYplCzoqoGuVh7wBHPhI3t8hOINrr5eni3CfVWA1DKcmSd/oiF++m5Jp\npJwqWjCGYGD3Wv1SgWh9u4h6Tnr3wcckJMHqDRkzfyCNDa1s/v8/yoCQD0Tv\nMuHlb1tOnEwfWZ0l3qs9CZ+VZdRtkRUnQvKcRiF4d/iWInGy+AaoEAvSuAYs\nAWJj\r\n=RI5q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIO67v7WfYAO7PFe6iiiVcSx1l1tzd2wN5Ztv/DFSJWgIhALWCBl8XtrLJ5JRGWy0ooI2MONYUzI9Dxikie0CgCGbE"}]},"maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-svg-tools_1.1.12_1538862742996_0.4575243878339834"},"_hasShrinkwrap":false,"deprecated":"no longer maintained, switch to @iconify/tools"}},"readme":"# SimpleSVG Tools\n\nThis library is a collection of tools for importing, exporting and processing SVG images.\n\n## Installation\n\nFirst install it by running this command:\n\n    npm install simple-svg-tools --save\n\nThen you can use it in your Node.js files:\n\n    const tools = require('simple-svg-tools');\n\n## What tools are available?\n\n* Import SVG from various sources\n* Export SVG to various formats\n* Optimize images\n* Crop images\n* Clean up images\n* Get/change color palette\n* Find shapes, get lengths of shapes\n* Convert shapes to paths\n\n## Core\n\nCore of tools are SVG and Collections classes. All tools create or manipulate instances of SVG or Collection classes.\n\nAll tools are based on Promises. If you are not familiar with JavaScript Promises, do read up. There are many tutorials\navailable online. Make sure you are reading something from 2016 or newer, not tutorials for old implementations.\n\n### SVG class\n\nSVG class represents one SVG image. It is a simple class, it does not manipulate anything, except for\ncleaning up junk code that could otherwise cause XML parser to fail.\n\nYou can find code in src/svg.js\n\nCreating SVG instance is easy:\n\n    let svg = new tools.SVG('<svg ...></svg>');\n\nThat code will load SVG from string, extract image dimensions and clean up a bit, removing all junk image editors left\nbehind.\n\nSVG instance has multiple methods to get SVG as string:\n\n* svg.toString() - returns SVG as string\n* svg.toMinifiedString() - same as toString(), but without white spaces\n* svg.getBody() - returns body as string: child elements of `<svg>` element.\n\nThen you can get dimensions:\n\n* svg.getDimensions() - returns object containing width and height properties\n* svg.width - returns width\n* svg.height - returns height\n\nLast method replaces content of SVG instance:\n\n* svg.load(content) - same as constructor, but instead of making new instance it changes existing instance.\n\nYou can see usage examples in unit tests: tests/core/svg_test.js\n\n### Collection class\n\nCollection is a set of SVG instances.\n\nYou can find code in src/collection.js\n\nTo create Collection instance use this:\n\n    let collection = new tools.Collection();\n\nThat will create empty collection.\n\nTo clone another collection add collection as parameter to constructor:\n\n    let newCollection = new tools.Collection(oldCollection);\n\nTo add/remove items there are several methods:\n\n* collection.add('icon-name', svg) - add new item to collection\n* collection.remove('icon-name') - remove item from collection\n* collection.rename('old-name', 'new-name') - rename item\n\nwhere \"svg\" is instance of SVG class\n\nTo access any item use this:\n\n* collection.items['item-name']\n\nThere are other helpful functions:\n\n* collection.length() - returns number of items in collection\n* collection.keys() - returns list of all icon names\n\nThen there are main functions that are used to manipulate SVG instances in collection:\n\n* collection.forEach(callback) - iterates through all SVG instances. Callback function arguments: (svg, name), where svg is SVG instance, name is icon name.\n* collection.promiseAll(promise) - runs promise on all items in collection.\n\nHow to use forEach():\n\n    collection.forEach((svg, name) {\n        console.log('Found icon ' + name + ': ' + svg.toString());\n    });\n\nHow to use promiseAll():\n\n    collection.promiseAll((svg, name) => {\n        return new Promise((fulfill, reject) {\n            // do stuff to \"svg\" variable\n            fulfill('Result for icon ' + name);\n        });\n    }).then(results => {\n        // Results of all promises as object. Key = icon name, value = result for that icon\n\n        Object.keys(results).forEach(name => {\n            console.log('Result for icon ' + name + ':', results[name]);\n        });\n    }).catch(err => {\n        console.log('Promise failed:', err);\n    });\n\nYou can find examples throughout this library and unit tests. Everything in this library is based on promises.\n\n## Importing\n\nThere are several importers available. Some import one file, some import collections.\n\n### Importing one SVG file\n\n    tools.ImportSVG('path-to-file.svg').then(svg => {\n        // SVG was imported\n        // Variable 'svg' is instance of SVG class\n        console.log(svg.toString());\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Importing directory\n\n    tools.ImportDir('directory').then(collection => {\n        // Collection was imported\n        // Variable 'collection' is instance of Collection class\n        console.log('Found icons: ' + collection.keys().join(', '));\n    }).catch(err => {\n        console.log(err);\n    });\n\nThere are several options available for importing directory, options should be passed as second parameter to ImportDir\nfunction:\n\n* 'include-subdirs' - check subdirectories. Default = true\n* keywordCallback - custom callback to get image name from file. It is a function with 2 arguments: function(file_without_extension, filename). Function should return string. See default function in src/import/dir.js for example\n* ignoreDuplicates - if true, when files with duplicate keywords are found script will log a error message.\n* ignoreFiles - array of files to ignore. Values are keywords, not file names.\n* contentCallback - callback to change content. Use it if content contains some weird stuff you need to remove before importing SVG. function(content). Function should return modified content as string.\n\n    tools.ImportDir('directory', {\n        'include-subdirs': false,\n        ignoreFiles: ['bad-icon'],\n        keywordCallback: (file, filename) => 'prefix-' + file\n    }).then(collection => {\n        // Collection was imported\n        // Variable 'collection' is instance of Collection class\n        console.log('Found icons: ' + collection.keys().join(', '));\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Importing WebIcon\n\nWebIcon format is one big SVG image that contains multiple images.\n\n    tools.ImportWebIcon('path-to-file.svg').then(collection => {\n        // Collection was imported\n        // Variable 'collection' is instance of Collection class\n        console.log('Found icons: ' + collection.keys().join(', '));\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Importing SVG font\n\nThere are many popular glyph fonts, such as FontAwesome, that are not available as individual files. This importer will\nimport SVG font as collection. It will not import keywords though for each icon - that is different for every\ncollection and should be done separately.\n\n    tools.ImportFont('path-to-file.svg').then(collection => {\n        // Collection was imported\n        // Variable 'collection' is instance of Collection class\n        console.log('Found icons: ' + collection.keys().join(', '));\n    }).catch(err => {\n        console.log(err);\n    });\n\nThere are several options available for importing SVG font, options should be passed as second parameter to ImportFont\nfunction:\n\n* ignoreCharacters - list of characters to ignore. Array\n* characterChanges - changes for each character, object. Key is character's hexadecimal code, value is list of changes for that character.\n* fontChanges - changes for all characters\n\nKeys for characterChanges and fontChanges objects are similar:\n\n* height, width - custom height and width\n* left, bottom - custom left and bottom indexes. Why bottom instead of top? SVG fonts flip icons vertically, so height is counted from bottom\n\nEach value can be a number or a function(oldValue) that should return new value.\n\nExample:\n\n    tools.ImportFont('path-to-file.svg', {\n        fontChanges: {\n            height = height => Math.ceil(height / 16) * 16 // Round up height to 16px grid\n        },\n        characterChanges: {\n            f19c: { width: 1920 },\n            f0fc: { left: 64, width: 1600 },\n        }\n    }).then(collection => {\n        // Collection was imported\n        // Variable 'collection' is instance of Collection class\n        console.log('Found icons: ' + collection.keys().join(', '));\n    }).catch(err => {\n        console.log(err);\n    });\n\nIf you are going to crop images after import, there is no point in worrying about fixing characters. Crop will fix it (unless font is really badly messed up).\n\n## Exporting\n\nThere are several exporters available that work with Collection or SVG instances:\n\n### Exporting SVG\n\nExports one SVG instance.\n\n    tools.ExportSVG(svg, 'filename.svg').then(() => {\n        console.log('Exported!');\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Exporting collection to directory\n\n    tools.ExportDir(collection, 'directory').then(count => {\n        console.log('Exported ' + count + ' files');\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Exporting collection to JSON file\n\nThis is main export function, it exports collection to JSON format used by SimpleSVG.\n\n    tools.ExportJSON(collection, 'filename.json').then(json => {\n        console.log('Exported collection. JSON data: ' + JSON.stringify(json));\n    }).catch(err => {\n        console.log(err);\n    });\n\n## Manipulating\n\nMost functions require SVG to be optimized. Therefore before doing anything else, you should optimize icon.\n\n### SVGO optimization\n\nThis module optimizes SVG images, removing any unnecessary code and cleaning up stuff. It does not merge shapes to avoid\npotential problems with images that rely on specific order of shapes.\n\n    tools.SVGO(svg).then(svg => {\n        // svg variable is the same as in argument. Optimizer does not create new instance of SVG class\n        console.log('Optimized SVG');\n    }).catch(err => {\n        console.log(err);\n    });\n\nWant to optimize entire collection? Use collection's promiseAll function:\n\n    collection.promiseAll(svg => tools.SVGO(svg)).then(results => {\n        console.log('Optimized entire collection');\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Cropping images\n\nThis module crops SVG icons imported from fonts.\n\nImportant! This function requires PhantomJS to be installed. See http://phantomjs.org/\n\nHow to crop one image:\n\n    tools.Crop(svg).then(svg => {\n        console.log('Cropped SVG: ' + svg.toString());\n    }).catch(err => {\n        console.log(err);\n    });\n\nHow to crop entire collection:\n\n    tools.Crop(colleciton).then(colleciton => {\n        console.log('Cropped ' + svg.length() + ' images');\n    }).catch(err => {\n        console.log(err);\n    });\n\nHow does crop work? By drawing SVG on canvas and checking all 4 sides for transparent pixels. First it appends space on\nall sides of SVG, until all sides have nothing but empty pixels. Then it slowly cuts all sides until it reaches pixels\nthat aren't empty. Process doesn't take long because script checks pixels in bulk by zooming in.\n\nWhen it crops SVG or Collection instance (like in examples above), each SVG instance receives additional properties\nthat you might want to use later: _cropData. _cropData is an object with list of cropped edges: left, top, right, bottom.\n\nNode.js is not a browser, it does not support canvas and cannot render SVG images. Because of that calculations are\ndone in PhantomJS and script requires PhantomJS to be installed.\n\n### Tags validation\n\nThis module checks elements used in SVG image, changes stylesheet into inline style and removes useless attributes.\n\nStylesheet parser is very simple, it parses only basic stylesheets that are generated by some image editors. If SVG\ncontains fishy elements that aren't vector images, such as bitmaps or scripts, it will reject with error message.\n\nImportant! Before running this function you need to optimize SVG image using tools.SVGO()\n\nUsage:\n\n    tools.Tags(svg).then(svg => {\n        console.log('Cleaned up tags in SVG: ' + svg.toString());\n    }).catch(err => {\n        console.log(err);\n    });\n\nThis function is used for optimizing SVG images that contain a lot of junk code.\n\n### Extracting palette from SVG\n\nIf you don't know if SVG is colored or monotone or maybe doesn't have any colors at all, this tool will find all colors\nused in SVG and return you array of used colors.\n\nResult is object with 2 properties:\n\n* colors - array of color strings\n* notices - array of error messages\n\nUsage:\n\n    tools.GetPalette(svg).then(result => {\n        console.log('Colors used in SVG: ' + result.colors.join(', ');\n        if (result.notices.length) {\n            result.notices.forEach(notice => console.log(notice));\n        }\n    }).catch(err => {\n        console.log(err);\n    });\n\nUsing it with collection:\n\n    collection.promiseAll(svg => tools.GetPalette(svg)).then(result => {\n        Object.keys(results).forEach(key => {\n            console.log('Colors found in image ' + key + ': ' + result[key].colors.join(', ');\n        });\n    }).catch(err => {\n        console.log(err);\n    });\n\n### Replacing palette in SVG\n\nThis tool can be used to change colors in SVG or add colors to shapes that are missing color values.\n\n    tools.ChangePalette(svg, {\n        '#ff8000': '#0080ff',\n        '#123': '#234'\n    }).then(svg => {\n        // Variable \"svg\" in result is the same as in first parameter of ChangePalette.\n        // Function changes existing SVG instance \n        console.log('Changed palette');\n    }).catch(err => {\n        console.log(err);\n    });\n\nCode above will change #ff8000 to #0080ff and #123 to #234. \n\nBut there are more options:\n\n    tools.ChangePalette(svg, 'red').then(svg => {\n        console.log('Added palette to elements without palette');\n    }).catch(err => {\n        console.log(err);\n    });\n\nCode above will add color \"red\" to all elements that do not have color. It is identical to this:\n\n    tools.ChangePalette(svg, {\n        add: 'red'\n    }).then(svg => {\n        console.log('Added palette to elements without palette');\n    }).catch(err => {\n        console.log(err);\n    });\n\nYou can also change all colors by using keyword \"default\":\n\n    tools.ChangePalette(svg, {\n        default: 'green'\n    }).then(svg => {\n        console.log('Changed all colors to green');\n    }).catch(err => {\n        console.log(err);\n    });\n\nOr you can combine all those attributes:\n\n    tools.ChangePalette(svg, {\n        default: 'green',\n        add: '#000',\n        '#123': '#234\n    }).then(svg => {\n        console.log('Changed all colors to green, except for #123 that was changed to #234, added black color to elements without color');\n    }).catch(err => {\n        console.log(err);\n    });\n\nPrimary use of this tool in SimpleSVG is to replace all colors in monotone with \"currentColor\" keyword and add it to shapes that are missing color values:\n\n    collection.promiseAll(svg => tools.ChangePalette(svg, {\n        default: 'primaryColor',\n        add: 'primaryColor'\n    })).then(() => {\n        console.log('Changed color to primaryColor');\n    }).catch(err => {\n        console.log(err);\n    });\n\n## Indexing shapes and getting shape lengths\n\nIf you are doing stroke animations, you might need to index shapes (add unique class names for them to apply different\nanimations to different shapes) and get length of those shapes.\n\ntools.IndexShapes adds custom attribute to all shapes:\n\n    tools.IndexShapes(svg, {\n        // Attribute to set\n        shapeAttribute: 'data-shape-index',\n        // Attribute value. {index} is replaced with index, incrementing with each shape\n        shapeAttributeValue: '{index}',\n    }).then(shapesCount => {\n        console.log('Added data-shape-index attribute to ' + shapesCount + ' shapes.');\n    }).catch(err => {\n        console.log(err);\n    });\n\nYou can also get those shapes by setting option returnNodes to true. Instead of number of shapes Promise will return\narray of nodes. Each node is cheerio node object. See cheerio documentation for details. \n\ntools.ShapeLengths counts lengths of all shapes. It also returns all nodes, so you can change shapes (add/remove \nattributes or class name):\n\n    tools.ShapeLength(svg).then(results => {\n        console.log('Found ' + results.length + ' shapes:');\n        results.forEach(result => {\n            console.log('Shape ' + result.$node.get(0).tagName + ' has length of ' + result.length);\n        });\n    }).catch(err => {\n        console.log(err);\n    });\n\n## Sample\n\nIn directory \"sample\" you will find a sample script that parses the directory of SVG images. It optimizes images, exports\nthem as optimized SVG images and as JSON collection.\n\n## More tools\n\nIf you need any other tool to help with custom SVG icon sets development, suggest it by opening an issue on GitHub repository.\n\n## License\n\nLibrary is released with MIT license.\n\n© 2016, 2017 Vjacheslav Trushkin\n","maintainers":[{"name":"cyberalien","email":"cyberalien@gmail.com"}],"time":{"modified":"2023-01-03T07:16:51.689Z","created":"2017-04-18T19:39:15.508Z","1.0.0":"2017-04-18T19:39:15.508Z","1.0.1":"2017-04-20T18:34:41.756Z","1.0.2":"2017-05-07T19:30:02.807Z","1.0.3":"2017-05-10T21:50:02.630Z","1.0.4":"2017-05-11T06:20:25.690Z","1.0.5":"2017-05-12T20:35:26.066Z","1.0.6":"2017-11-02T12:53:38.276Z","1.0.7":"2017-11-02T14:50:16.390Z","1.0.8":"2017-11-02T15:45:46.986Z","1.0.9":"2017-11-20T12:31:12.524Z","1.0.10":"2017-11-20T16:40:42.677Z","1.0.11":"2017-11-20T17:14:49.230Z","1.1.0":"2017-11-24T16:52:24.753Z","1.1.1":"2017-12-19T14:30:57.023Z","1.1.2":"2017-12-19T15:27:21.562Z","1.1.3":"2017-12-21T15:32:25.075Z","1.1.4":"2017-12-25T12:04:58.571Z","1.1.5":"2018-05-19T09:53:48.922Z","1.1.6":"2018-09-12T07:37:55.482Z","1.1.7":"2018-09-21T07:51:51.237Z","1.1.8":"2018-09-21T09:11:19.134Z","1.1.10":"2018-09-21T10:04:51.909Z","1.1.11":"2018-10-06T21:11:49.245Z","1.1.12":"2018-10-06T21:52:23.211Z"},"author":{"name":"Vjacheslav Trushkin"},"license":"MIT","readmeFilename":"README.md"}