{"name":"imagemin-svgo","version":"4.1.2","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@4.1.2","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":"c29d8f02b547cbf6e7df42c47ee15e9c128de149","tarball":"http://registry-npm.ywwl.com/imagemin-svgo/download/imagemin-svgo-4.1.2.tgz","integrity":"sha512-Qua4ldyRN2gCPhXbq92F6pGS4eXyn266EqNAghLYUjbaseE4V2JHhel2XzwcaCgH5+M7Bn23tpk9pPlAmh7EEg==","signatures":[{"sig":"MEYCIQDjw+KqbL0hTMuz33/YMN8bC+wiNe8SieuuRFxS77pkyAIhAJsRqkUlQunqin60cR4IBT9WxOLhR+yOee4yaTtCLvVu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2192,"noattachment":false,"key":"/imagemin-svgo/-/imagemin-svgo-4.1.2.tgz"},"_from":".","files":["index.js"],"_shasum":"c29d8f02b547cbf6e7df42c47ee15e9c128de149","engines":{"node":">=0.10.0"},"gitHead":"23b8e573f7e1d7a8f3b0e8884ae148bf51260676","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.5.1","description":"svgo imagemin plugin","directories":{},"_nodeVersion":"1.2.0","dependencies":{"svgo":"^0.5.0","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":1423763335649,"_cnpm_publish_time":1423763335649,"dist-tags":{"latest":"12.0.0"}}