{"_id":"svg2png","_rev":"43-0036ea9fc05bbcb94d7206d0f942c0ba","name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","dist-tags":{"latest":"4.1.1"},"versions":{"1.0.0":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS.","version":"1.0.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/svg2png.git"},"bugs":{"url":"http://github.com/domenic/svg2png/issues"},"main":"lib/svg2png.js","directories":{"lib":"lib"},"scripts":{"test":"mocha","lint":"jshint lib"},"dependencies":{"phantomjs":">= 0.2.0"},"devDependencies":{"coffee-script":">= 1.3.3","chai":">= 1.3.0","jshint":">= 0.9.1","mocha":">= 1.6.0"},"_id":"svg2png@1.0.0","dist":{"shasum":"35ee93402811f4b5a6c65dcce54924608647ebf3","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-1.0.0.tgz","integrity":"sha512-3N7hLay9q3hlmEyUMdX3/TbCtDPS0HKVWdUGwQYRUzTDeGJl2jqKywHOz4ewZTngxSKq98P678k+drt44NgUuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4kenmGOGx6W6sG1TDSlQtw72Z9tRW6eYdsHWe4rUtwQIhALe5K/H28R675OK+z/c9iXA6+PQ7FILFVhlGFooaAA50"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"domenicdenicola","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenicdenicola","email":"domenic@domenicdenicola.com"}]},"1.0.1":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS.","version":"1.0.1","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/svg2png.git"},"bugs":{"url":"http://github.com/domenic/svg2png/issues"},"main":"lib/svg2png.js","scripts":{"test":"mocha","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.7-1"},"devDependencies":{"chai":"~1.9.0","jshint":"~2.4.3","mocha":"~1.17.1"},"homepage":"https://github.com/domenic/svg2png","_id":"svg2png@1.0.1","dist":{"shasum":"00c903a5e75f668c8571e9caad898d17f85e91ea","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-1.0.1.tgz","integrity":"sha512-lW9v7qcZM9IjJ9cOSjqHG4aF5RfSfuEQQgEQI//mhV5nxP6JUftSfp1O9Lqmew/M7iVE7SnPsG9L/6qGKuE0EA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8tVxU0AKewhOlwnZ8bx2phFQ4aMNWDjfTq1yAPr6i7gIgaBKIIwpu8o3WkRxf7xgK3qX486z5mcs3c9C/EF3mVm8="}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}]},"1.1.0":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS.","version":"1.1.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/svg2png.git"},"bugs":{"url":"http://github.com/domenic/svg2png/issues"},"main":"lib/svg2png.js","scripts":{"test":"mocha","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.7-1"},"devDependencies":{"chai":"~1.9.1","jshint":"~2.4.3","mocha":"~1.18.2"},"homepage":"https://github.com/domenic/svg2png","_id":"svg2png@1.1.0","dist":{"shasum":"0f9b9c0463550ffe14b1d03827af16d2f7b92cf1","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-1.1.0.tgz","integrity":"sha512-YWLpyMl4nfPXPqEhWlwkW8HXQdyaiQPN8EFp7cv4K0YYVFooV3jSSxfNFippSzY+Fr+Zy18d/ynvqvA8xyfeJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8n/lQEUt8XAMWSrmB0jRsLS5X0hDZ4lZ4yV6ATsvN2wIgFK4KHArDMTeBu3edhOyaAKdIXw8k2lzrxO83JkEezUw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}]},"1.1.1":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS","version":"1.1.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"https://github.com/domenic/svg2png"},"main":"lib/svg2png.js","files":["lib/"],"scripts":{"test":"mocha","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.16"},"devDependencies":{"chai":"^2.2.0","jshint":"^2.6.3","mocha":"^2.2.1"},"gitHead":"409d951231d908f6c55697243a7dd012b103005c","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png","_id":"svg2png@1.1.1","_shasum":"c5448476e2120184701a81ca1cd8f424d1f74ec6","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.3","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"dist":{"shasum":"c5448476e2120184701a81ca1cd8f424d1f74ec6","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-1.1.1.tgz","integrity":"sha512-0dNl3JX8CyaNrRCiUBNiP4PElFdmnWG+KB+36gzLPoPUs7YUEDuEDrW+GD9JveU4Fi9C8tNqOrW/JOQjYdZmNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpv4DuiX9S47vy0iU1M3r8DzgAPA5uyszMv/kSvaLcVAIhAPZGJzy7KjWOSHPt/GivzwPtWlu2TLZh3DCDJJ324caj"}]}},"2.0.0":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS","version":"2.0.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","files":["lib/"],"scripts":{"test":"mocha","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.18"},"devDependencies":{"chai":"^3.4.1","jshint":"^2.8.0","mocha":"^2.3.3"},"gitHead":"5b14ef2fbca6cdc4a513006d723ce0a271461d13","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@2.0.0","_shasum":"3adf3deac20c7a2271ef05f09b878cf14dab2e3d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"3adf3deac20c7a2271ef05f09b878cf14dab2e3d","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-2.0.0.tgz","integrity":"sha512-gizRAniWaVR/78q+WvCWmSQgq2aTMXwbdlRwAHJmu8IjIEv+SNoX98XOZj1Bxhf5iXA5Q3MFUUYdRQ5xj29U7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrgD9N8UkaHYlXbDNYI8HgKmht/Ad/4dpqbIzbHAqJYAIgeWiQM/gY4dNBA3O6mywrnzGohfRIuCEOTdFfrrbNXUw="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}]},"2.1.0":{"name":"svg2png","description":"A SVG to PNG converter, using PhantomJS","version":"2.1.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","files":["lib/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.18"},"devDependencies":{"chai":"^3.4.1","jshint":"^2.8.0","mocha":"^2.3.3"},"gitHead":"b6f8f5bf1319a45a656d6b232fa23118fd91fd25","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@2.1.0","_shasum":"accfbca3c02888e278290ec27dcb8aed30358acd","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"accfbca3c02888e278290ec27dcb8aed30358acd","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-2.1.0.tgz","integrity":"sha512-jaDnmNWBk+IqwxQFYwKITStYRq461G7Y3uj2FyJSwQPM5/Z+2OayYF0Yj3IMn/DVeJSOlT5Nr2CxyeiJ3A+PhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDcs8O1enxTV0su/B9KmORnWe0KX8/18I/Q9pGHgBLzAiBQ8YwCLrqdmZKaXL18XeT+l3NEz5NTpjYYAQh8+x3ByQ=="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}]},"3.0.0":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"3.0.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs":"^1.9.19","pn":"^1.0.0","yargs":"^3.31.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^2.3.4","rimraf":"^2.5.0"},"gitHead":"ea9b9ed7a685f2e554fac50af8826b9c78a75467","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@3.0.0","_shasum":"8ccc14c9d5483542aa43e24501fb65539b3877c4","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"8ccc14c9d5483542aa43e24501fb65539b3877c4","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-3.0.0.tgz","integrity":"sha512-PKttk4htDkQ+yMApxUeUJWi4kDJ0UfWx9xqFqPpWhy+FlHdmMcg+FZTbho7PFfaHuWFzBCFqb1bKOacWPg/OYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpsYXuhagziC8KHEEe50BjNhXcliy20irG9xaoRkr/EgIhAITOr1XIloq7LQqgZHEiKGcfd1Imuni4QoHYONFcKYYI"}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}]},"3.0.1":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"3.0.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"phantomjs-prebuilt":"^2.1.10","pn":"^1.0.0","yargs":"^3.31.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^2.3.4","rimraf":"^2.5.0"},"gitHead":"a80ed53273ac847107846da2e2675d35f9fa99a6","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@3.0.1","_shasum":"a2644d68b0231ac00af431aa163714ff17106447","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"a2644d68b0231ac00af431aa163714ff17106447","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-3.0.1.tgz","integrity":"sha512-T7Dbg3/bKXFJ7GvrTqdHbAi1gMzusC4vXIrCpeZ0mpOS5UssBKgJF6b4JpE2XOdoYl4747959rdXxj+Wo0Y7vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMO5OTtHpB7OOXY8/f+wBglhior4Eo7iZ4z7gwKJ0GQAiBI5Z/nCFoJyhEhzemJqyR4UE6rBOt+8TPi2ONZs+mJoQ=="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/svg2png-3.0.1.tgz_1470408898262_0.614311222685501"}},"3.1.0":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"3.1.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"file-url":"^1.1.0","phantomjs-prebuilt":"^2.1.10","pn":"^1.0.0","yargs":"^5.0.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^3.0.2","rimraf":"^2.5.0"},"gitHead":"6ecd3b67e1b8eac69758df89c411ff1c88c37863","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@3.1.0","_shasum":"64cc27503a2973197a13a3e4af15fca620cc686b","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"64cc27503a2973197a13a3e4af15fca620cc686b","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-3.1.0.tgz","integrity":"sha512-v0OiIPG7ZfwsEVBLgbwLD0HpxNEdg0ZCIG3baJSRbLXyTDSsu5OoAPO2PSW0SDxNjKye1ouEXiiagVsusIWtmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAnj+76HJdpEE52gkOMLOGtWEA5pL+jwn6xw1c6xMuilAiEAgRAS0OSuyHjwaLlULWBrzOPMJW57YFE94PdJaDQWGz8="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svg2png-3.1.0.tgz_1473550168725_0.5901824873872101"}},"3.1.1":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"3.1.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"file-url":"^1.1.0","phantomjs-prebuilt":"^2.1.10","pn":"^1.0.0","yargs":"^5.0.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^3.0.2","rimraf":"^2.5.0"},"gitHead":"9bfc48a6575c435af9dfc3472c203f809e4abf39","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@3.1.1","_shasum":"2f908fb65744d725aa4a4602ff9bc4b7462ef5d8","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"2f908fb65744d725aa4a4602ff9bc4b7462ef5d8","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-3.1.1.tgz","integrity":"sha512-vWy1gmw1QBAd1MiPjal3c3fr2H/5Wo61KvFrsWbNCON6nsqdj7b+8IpMESlmTxzd5LmyX9W1vnTWrvW0j544Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD05S0WgKGGLoPpGNUQfhEkBhgFyq576OHMYgXzaoafcwIgOjUIzIx0ZIyEGk8B846SsgOBgnjH6hqmj1e5MlHqkXQ="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svg2png-3.1.1.tgz_1473605399194_0.7141707600094378"}},"4.0.0":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"4.0.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"file-url":"^1.1.0","phantomjs-prebuilt":"^2.1.10","pn":"^1.0.0","yargs":"^5.0.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^3.0.2","rimraf":"^2.5.0"},"gitHead":"7940168da8201709c1558ec01a9687921ba97d9c","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@4.0.0","_shasum":"00f10338bd093e76e02bb00980a1562596b94276","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"00f10338bd093e76e02bb00980a1562596b94276","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-4.0.0.tgz","integrity":"sha512-6rf3EornNrcIlLRdkIiKFZORwuhztnA8jMrv7YbQVI2ErlMYcYBa+lyDAg2q2hhG6omGCHRENu46l0VgEtziyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+Z6qzjU+HOmkHEHyrNqXJMzgSk4kVqvhRH8PYEl/R+AIhAJIMCMEmQbAJj9uv9V/xMc9mywvdh82g1aOl+JnnzAI6"}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svg2png-4.0.0.tgz_1473775561652_0.8647892363369465"}},"4.1.0":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"4.1.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"jshint lib && jshint test"},"dependencies":{"file-url":"^1.1.0","phantomjs-prebuilt":"^2.1.10","pn":"^1.0.0","yargs":"^5.0.0"},"devDependencies":{"chai":"^3.4.1","chai-as-promised":"^5.2.0","jshint":"^2.8.0","mkdirp":"^0.5.1","mocha":"^3.0.2","rimraf":"^2.5.0"},"gitHead":"6eb2f03fb7f3041cf870e13f08f1046e7ef102bd","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@4.1.0","_shasum":"68e85fc9d0784dc041f97d2a28815405acd56217","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"68e85fc9d0784dc041f97d2a28815405acd56217","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-4.1.0.tgz","integrity":"sha512-OZUplzFrfjfzddYFX5zR7aPpY8jMiCUa/q8yR7+tiZ6tTqbTP2lEmAwG2lLU0/ysv95sqWAv2BxXV0P9ffUEyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKAw4+Bu1UU8z/YebS6WzKAbkCEd3xkmF3YuWwsqItKAIgfNVzreNpkeCwwx0Dr6wpcse8vpDNah7HfbuBFb2WrUg="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/svg2png-4.1.0.tgz_1478400510834_0.8874781993217766"}},"4.1.1":{"name":"svg2png","description":"Converts SVGs to PNGs, using PhantomJS","version":"4.1.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"license":"WTFPL","repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"main":"lib/svg2png.js","bin":{"svg2png":"bin/svg2png-cli.js"},"files":["lib/","bin/"],"scripts":{"test":"mocha","rebaseline":"node test/success-tests/rebaseline.js","lint":"eslint lib test"},"dependencies":{"file-url":"^2.0.0","phantomjs-prebuilt":"^2.1.14","pn":"^1.0.0","yargs":"^6.5.0"},"devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","eslint":"^3.12.2","mkdirp":"^0.5.1","mocha":"^3.2.0","rimraf":"^2.5.4"},"gitHead":"5997ae9452796f480c13506c32cb04d1dc38369e","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"homepage":"https://github.com/domenic/svg2png#readme","_id":"svg2png@4.1.1","_shasum":"6b9e0398aa418778b6436e127a2fb7f00d499c28","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"6b9e0398aa418778b6436e127a2fb7f00d499c28","tarball":"https://registry.npmjs.org/svg2png/-/svg2png-4.1.1.tgz","integrity":"sha512-9tOp9Ugjlunuf1ugqkhiYboTmTaTI7p48dz5ZjNA5NQJ5xS1NLTZZ1tF8vkJOIBb/ZwxGJsKZvRWqVpo4q9z9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXk/d0mwUfAE+HKy/9rlU4nHNMKnFq9O+/Gx4IJRFDKAiB82okAbNVXiZjYRyIAZiQN/mcMguyXXWYzq/uauXwFBA=="}]},"maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svg2png-4.1.1.tgz_1482111279301_0.15582687268033624"}}},"readme":"# SVG-to-PNG Converter Using PhantomJS\n\nYou have a SVG file. For whatever reason, you need a PNG. **svg2png** can help.\n\n```js\nconst fs = require(\"pn/fs\"); // https://www.npmjs.com/package/pn\nconst svg2png = require(\"svg2png\");\n\nfs.readFile(\"source.svg\")\n    .then(svg2png)\n    .then(buffer => fs.writeFile(\"dest.png\", buffer))\n    .catch(e => console.error(e));\n```\n\nIn the above example, we use the `width` and `height` attributes specified in the SVG file to automatically determine the size of the SVG. You can also explicitly set the size:\n\n```js\nsvg2png(sourceBuffer, { width: 300, height: 400 })\n    .then(buffer => ...)\n    .catch(e => console.error(e));\n```\n\nThis is especially useful for images without `width` or `height`s. You can even specify just one of them and (if the image has an appropriate `viewBox`) the other will be set to scale.\n\nFinally, some SVG files reference external resources using relative paths. You can set them up for correct conversion by passing the `filename` or `url` option:\n\n```js\nsvg2png(sourceBuffer, { url: \"https://example.com/awesomeness.svg\" })\n    .then(buffer => ...)\n    .catch(e => console.error(e));\n\nsvg2png(sourceBuffer, { filename: path.resolve(__dirname, \"images/fun.svg\") })\n    .then(buffer => ...)\n    .catch(e => console.error(e));\n```\n\n## Sync variant\n\nThere's also a sync variant, for use in your shell scripts:\n\n```js\nconst outputBuffer = svg2png.sync(sourceBuffer, options);\n```\n\n## How the conversion is done\n\nsvg2png is built on the latest in [PhantomJS](http://phantomjs.org/) technology to render your SVGs using a headless WebKit instance. I have found this to produce much more accurate renderings than other solutions like GraphicsMagick or Inkscape. Plus, it's easy to install cross-platform due to the excellent [phantomjs](https://www.npmjs.com/package/phantomjs-prebuilt) npm package—you don't even need to have PhantomJS in your `PATH`.\n\nRendering isn't perfect; we have a number of issues that are [blocked on PhantomJS](https://github.com/domenic/svg2png/labels/blocked%20on%20phantomjs) getting its act together and releasing a cross-platform version with updated WebKit.\n\n## Exact resizing behavior\n\nPrevious versions of svg2png attempted to infer a good size based on the `width`, `height`, and `viewBox` attributes. As of our 3.0 release, we attempt to stick as close to the behavior of loading a SVG file in your browser as possible. The rules are:\n\n- Any `width` or `height` attributes that are in percentages are ignored and do not count for the subsequent rules.\n- The dimensions option `{ width, height }` overrides any `width` or `height` attributes in the SVG file, including for the subsequent rules. If a key is missing from the dimensions object (i.e. `{ width }` or `{ height }`) the corresponding attribute in the SVG file will be deleted.\n- `width` and `height` attributes without a `viewBox` attribute cause the output to be of those dimensions; this might crop the image or expand it with empty space to the bottom and to the right.\n- `width` and/or `height` attributes with a `viewBox` attribute cause the image to scale to those dimensions. If the ratio does not match the `viewBox`'s aspect ratio, the image will be expanded and centered with empty space in the extra dimensions. When a `viewBox` is present, one of either `width` or `height` can be omitted, with the missing one inferred from the `viewBox`'s aspect ratio.\n- When there are neither `width` nor `height` attributes, the promise rejects.\n\nOne thing to note is that svg2png does not and cannot stretch your images to new aspect ratios.\n\n## CLI\n\nThis package comes with a CLI version as well; you can install it globally with `npm install svg2png -g`. Use it as follows:\n\n```\n$ svg2png --help\nConverts SVGs to PNGs, using PhantomJS\n\nsvg2png input.svg [--output=output.png] [--width=300] [--height=150]\n\nOptions:\n  -o, --output  The output filename; if not provided, will be inferred  [string]\n  -w, --width   The output file width, in pixels                        [string]\n  -h, --height  The output file height, in pixels                       [string]\n  --help        Show help                                              [boolean]\n  --version     Show version number                                    [boolean]\n```\n\n## Node.js requirements\n\nsvg2png uses the latest in ES2015 features, and as such requires a recent version of Node.js. Only the 6.x series onward is supported.\n","maintainers":[{"name":"domenic","email":"domenic@domenicdenicola.com"}],"time":{"modified":"2022-06-27T02:38:05.418Z","created":"2012-10-12T15:49:33.643Z","1.0.0":"2012-10-12T15:49:34.203Z","1.0.1":"2014-02-09T21:08:17.798Z","1.1.0":"2014-05-11T21:14:33.595Z","1.1.1":"2015-04-06T03:30:27.013Z","2.0.0":"2015-11-12T06:06:14.609Z","2.1.0":"2016-01-09T14:18:22.611Z","3.0.0":"2016-01-10T02:56:08.610Z","3.0.1":"2016-08-05T14:55:01.067Z","3.1.0":"2016-09-10T23:29:30.348Z","3.1.1":"2016-09-11T14:50:00.880Z","4.0.0":"2016-09-13T14:06:03.618Z","4.1.0":"2016-11-06T02:48:31.385Z","4.1.1":"2016-12-19T01:34:41.284Z"},"author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me"},"repository":{"type":"git","url":"git+https://github.com/domenic/svg2png.git"},"readmeFilename":"README.md","homepage":"https://github.com/domenic/svg2png#readme","bugs":{"url":"https://github.com/domenic/svg2png/issues"},"license":"WTFPL","users":{"uipoet":true,"chrisyipw":true,"pandao":true,"timdp":true,"akabeko":true,"mitsugm":true,"barbu110":true,"liweifeng":true,"faraoman":true,"mucbuc":true,"princetoad":true,"erikvold":true,"gracelee":true,"leomdg":true,"nfrigus":true,"vdsabev":true}}