{"name":"imagemin-svgo","version":"3.0.0","keywords":["compress","gulpplugin","image","imageminplugin","img","minify","optimize","svg","svgo"],"author":{"url":"https://github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"imagemin-svgo@3.0.0","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/imagemin/imagemin-svgo","bugs":{"url":"https://github.com/imagemin/imagemin-svgo/issues"},"dist":{"shasum":"f95d7e44beb4d2f2a59c38e5d9447239adad4d0e","tarball":"http://registry-npm.ywwl.com/imagemin-svgo/download/imagemin-svgo-3.0.0.tgz","integrity":"sha512-C8cptA5ArRFoeTRqV9jJXCVSVUsol0KE7FOTAtGrOvqn54M2bHO+ALStLyaThKDC5SsR5PJKANJSDRy326dTGA==","signatures":[{"sig":"MEQCIHZi6tYLfqk4vAoRt0hfENLoGHl9tulNYJiE0WupITv8AiBnYFs4gRM5qq6X6C8tx7gktcuFS5uiznPlCFDpkzDi0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1397,"noattachment":false,"key":"/imagemin-svgo/-/imagemin-svgo-3.0.0.tgz"},"_from":".","files":["index.js"],"_shasum":"f95d7e44beb4d2f2a59c38e5d9447239adad4d0e","engines":{"node":">=0.10.0"},"gitHead":"c39bce6a0a0e18755222f257e90cfe4303b5d64a","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"repository":{"url":"https://github.com/imagemin/imagemin-svgo","type":"git"},"_npmVersion":"2.1.5","description":"svgo imagemin plugin","directories":{},"_nodeVersion":"0.10.32","dependencies":{"svgo":"^0.4.5","is-svg":"^1.0.0","through2":"^0.6.1"},"devDependencies":{"ava":"0.0.4","vinyl-file":"^1.1.0"},"readme":"# imagemin-svgo ![GitHub Actions Status](https://github.com/imagemin/imagemin-svgo/workflows/test/badge.svg?branch=main)\n\n> [SVGO](https://github.com/svg/svgo) imagemin plugin\n\n## Install\n\n```sh\nnpm install imagemin-svgo\n```\n\n## Usage\n\n```js\nimport imagemin from 'imagemin';\nimport imageminSvgo from 'imagemin-svgo';\n\nawait imagemin(['images/*.svg'], {\n\tdestination: 'build/images',\n\tplugins: [\n\t\timageminSvgo({\n\t\t\tplugins: [{\n\t\t\t\tname: 'removeViewBox',\n\t\t\t\tactive: false\n\t\t\t}]\n\t\t})\n\t]\n});\n\nconsole.log('Images optimized');\n```\n\n## API\n\n### imageminSvgo(options?)(buffer)\n\nReturns a `Promise<Buffer>`.\n\n#### options\n\nType: `object`\n\nPass options to [SVGO](https://github.com/svg/svgo#configuration).\n\n#### buffer\n\nType: `Buffer`\n\nThe buffer to optimize.\n","publish_time":1414190931789,"_cnpm_publish_time":1414190931789,"dist-tags":{"latest":"12.0.0"}}