{"name":"imagemin-svgo","version":"4.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@4.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":"2c6a1e1c3eda849297a345971f9f07b1b162f2ee","tarball":"http://registry-npm.ywwl.com/imagemin-svgo/download/imagemin-svgo-4.0.0.tgz","integrity":"sha512-kGIl4pPUngPWsS9AwxCSMsLRgbcHDePHeJoCry+nBZ2iYUyoRuHRnSRUigiiV5hL/7K0YodDhO3AIfv2ZjWZOg==","signatures":[{"sig":"MEUCIQCCAnMWXLLK5qOXTA/T6HhOfrE8ZCxbhCD3IwSznVG24QIgJu4l/Ehzqyf6k0NtGAnQ48wOxWOfgzgzcOXIy4fJZR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1428,"noattachment":false,"key":"/imagemin-svgo/-/imagemin-svgo-4.0.0.tgz"},"_from":".","files":["index.js"],"_shasum":"2c6a1e1c3eda849297a345971f9f07b1b162f2ee","engines":{"node":">=0.10.0"},"gitHead":"3bd65af4730300ae6470ab55513406318c91fa31","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@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.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":1415626572575,"_cnpm_publish_time":1415626572575,"dist-tags":{"latest":"12.0.0"}}