{"_id":"svg-scaler","_rev":"27-1e3ea5476ebf722565c623903a916f3b","name":"svg-scaler","description":"help convert svg to png","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"svg-scaler","version":"0.0.1","description":"help convert svg to png","main":"index.js","dependencies":{"event-stream":"^3.1.5","q":"^1.0.1","sax":"^0.6.0","svgo":"^0.4.4","svgpath":"^1.0.5"},"devDependencies":{"chai":"^1.9.1","grunt":"^0.4.5","grunt-contrib-clean":"^0.5.0","grunt-svg2png":"^0.2.1","mocha":"^1.20.1","vinyl-fs":"^0.2.1"},"scripts":{"test":"mocha ./test/*.spec.js -R spec"},"author":"","license":"ISC","repository":{"type":"git","url":"git://github.com/morlay/svg-scaler.git"},"bugs":{"url":"https://github.com/morlay/svg-scaler/issues"},"homepage":"https://github.com/morlay/svg-scaler","_id":"svg-scaler@0.0.1","_shasum":"c2948b3789df953979d459b0e90d3eeeaea52127","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"morlay","email":"morlay.null@gmail.com"},"maintainers":[{"name":"morlay","email":"morlay.null@gmail.com"}],"dist":{"shasum":"c2948b3789df953979d459b0e90d3eeeaea52127","tarball":"https://registry.npmjs.org/svg-scaler/-/svg-scaler-0.0.1.tgz","integrity":"sha512-6FyX84X0w8Uy3qVfySqaMfoXsI+cw7SZZfiPIij0lFMiUnoaP1tv8HA+1QVyTlWwTsFz2rXhdjBEKoUB596lgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx+pdjxJsTbf23DyUT/ieWon8VcIDC5Py2Rrfwrpn0FwIgDNzjDX1zCtYqzoWydIwrz7ssRJDuIVjOIoZkwdRTwwo="}]}},"0.1.2":{"name":"svg-scaler","version":"0.1.2","description":"help convert svg to png","main":"index.js","dependencies":{"event-stream":"^3.1.5","q":"^1.0.1","sax":"^0.6.0","svgo":"^0.4.4","svgpath":"^1.0.5"},"devDependencies":{"chai":"^1.9.1","grunt":"^0.4.5","grunt-contrib-clean":"^0.5.0","grunt-svg2png":"^0.2.1","mocha":"^1.20.1","vinyl-fs":"^0.2.1"},"scripts":{"test":"mocha ./test/*.spec.js -R spec"},"author":{"name":"morlay"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/morlay/svg-scaler.git"},"bugs":{"url":"https://github.com/morlay/svg-scaler/issues"},"homepage":"https://github.com/morlay/svg-scaler","_id":"svg-scaler@0.1.2","_shasum":"a7e48d85778256198adb969efc436d74f91b2146","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"morlay","email":"morlay.null@gmail.com"},"maintainers":[{"name":"morlay","email":"morlay.null@gmail.com"}],"dist":{"shasum":"a7e48d85778256198adb969efc436d74f91b2146","tarball":"https://registry.npmjs.org/svg-scaler/-/svg-scaler-0.1.2.tgz","integrity":"sha512-idmnnR2ZSi21ISdKTLZEtMFVpTwLXhY3Tk6EWxa2Brk+fEo0cxe7EVtFAJhIkxFzqc7+h3F6wi6nyae82YOrWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+XKQ8Uq81bBn2w9rUTiRUsKIn2d+4uDAELHYzZIydpAiEAwKypwj9qdnhuPH+PdkPt+e4slC07BXOiuhllidgaIKU="}]}},"0.1.5":{"name":"svg-scaler","version":"0.1.5","description":"help convert svg to png","main":"index.js","dependencies":{"event-stream":"^3.1.5","q":"^1.0.1","sax":"^0.6.0","svgo":"^0.4.4","svgpath":"^1.0.5"},"devDependencies":{"chai":"^1.9.1","grunt":"^0.4.5","grunt-contrib-clean":"^0.5.0","grunt-svg2png":"^0.2.1","mocha":"^1.20.1","vinyl-fs":"^0.2.1"},"scripts":{"test":"mocha ./test/*.spec.js -R spec"},"author":{"name":"morlay"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/morlay/svg-scaler.git"},"bugs":{"url":"https://github.com/morlay/svg-scaler/issues"},"homepage":"https://github.com/morlay/svg-scaler","_id":"svg-scaler@0.1.5","_shasum":"d7068cec7f23d2acca7e9cae38fd55818529a6ac","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"morlay","email":"morlay.null@gmail.com"},"maintainers":[{"name":"morlay","email":"morlay.null@gmail.com"}],"dist":{"shasum":"d7068cec7f23d2acca7e9cae38fd55818529a6ac","tarball":"https://registry.npmjs.org/svg-scaler/-/svg-scaler-0.1.5.tgz","integrity":"sha512-or7oDsuphoj/FCoRKs+zVfx6WBYTsMeH5HZk0UnEDejXBwstPIL+C3Ef+oYhDgTdP4y39KITpIzI4K+2RrFhkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3jKRASDaAu0G7mkCIVSknA8N0jScndg05K+HFoYHDQAiAxCf8RUttaceLBTDwlSmxKCG4Ih8YJ2BDsTJt1Olgxbg=="}]}}},"readme":"## SVG Scaler\n\n[![Build Status](https://travis-ci.org/morlay/svg-scaler.svg?branch=master)](https://travis-ci.org/morlay/svg-scaler)\n[![Dependencies](https://david-dm.org/morlay/svg-scaler.png)](https://david-dm.org/morlay/svg-scaler)\n\nScale svg size；\n\n## Usage\n\n`npm install svg-scaler`\n\nands\n\n     var svgscaler = require('svg-scaler');\n\n     gulp.src('src/*.svg')\n         .pipe(svgscaler({ width: number })) // options\n         .pipe(gulp.dest('./dest/svg/'))\n\n## options\n\n### `noSvgo`\n\n`type:boolean`, default is `false`, if you want remain more detail, please set it `true`;\n\n### `width`\n\n`type:number`, will make the svg scale to the size by the number, will fix to square, unity all svg files to same size.\n\n### scale\n\n`type:number`, just normal `scale`, but if have the width or the height option, the `scale` will not work.\n\n## Warning\n\n* not support image in svg.\n* because use phantom, so need some special configuration. please see the `Gruntfile`, same for gulp.\n\n## Thanks\n\n* https://github.com/fontello/svgpath\n* https://github.com/isaacs/sax-js\n* https://github.com/svg/svgo\n\n* Test icons from https://dribbble.com/shots/1511236-Champicons-icons-of-champions-FREE-AI","maintainers":[{"email":"morlay.null@gmail.com","name":"morlay_null"}],"time":{"modified":"2022-06-27T02:35:40.701Z","created":"2014-06-04T10:41:17.390Z","0.0.1":"2014-06-04T10:41:17.390Z","0.1.0":"2014-06-04T10:43:45.815Z","0.1.1":"2014-06-04T10:44:20.084Z","0.1.2":"2014-06-04T10:56:36.209Z","0.1.3":"2014-06-04T11:16:58.843Z","0.1.4":"2014-06-04T11:44:28.732Z","0.1.5":"2014-06-05T02:48:14.147Z"},"homepage":"https://github.com/morlay/svg-scaler","repository":{"type":"git","url":"git://github.com/morlay/svg-scaler.git"},"bugs":{"url":"https://github.com/morlay/svg-scaler/issues"},"license":"WTFPL","readmeFilename":"README.md","author":{"name":"morlay"},"users":{"morlay":true,"jacoblapworth":true}}