{"name":"imagemin-svgo","version":"5.0.0","keywords":["compress","image","imageminplugin","img","minify","optimize","svg","svgo"],"author":{"url":"github.com/kevva","name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com"},"license":"MIT","_id":"imagemin-svgo@5.0.0","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/imagemin/imagemin-svgo#readme","bugs":{"url":"https://github.com/imagemin/imagemin-svgo/issues"},"xo":{"esnext":true},"dist":{"shasum":"97f6c36e2ea43a02529ab2ff588d6d9aebde78d6","tarball":"http://registry-npm.ywwl.com/imagemin-svgo/download/imagemin-svgo-5.0.0.tgz","integrity":"sha512-GuBEOGlHUNlAnj9AAn+BwR7hkfzm73jWJojUL5ED92ULNnuQd4E4vj64t0fK+SwftSk9NUIi/TDbby+21KvI4w==","signatures":[{"sig":"MEYCIQDn6Frq6+MbsAB95tCjqoIdCnrcIZGAnl75Fi6MNo+zeQIhAIAOkJBqEuUjtWGy1scfomhl8hDzsP1c4KJAuCZkPhpG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1878,"noattachment":false,"key":"/imagemin-svgo/-/imagemin-svgo-5.0.0.tgz"},"_from":".","files":["index.js"],"_shasum":"97f6c36e2ea43a02529ab2ff588d6d9aebde78d6","engines":{"node":">=4"},"gitHead":"e0ab42bb2f1578c70ca5582919b72dd8601054c1","scripts":{"test":"xo && ava"},"_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"repository":{"url":"git+https://github.com/imagemin/imagemin-svgo.git","type":"git"},"_npmVersion":"3.8.8","description":"SVGO imagemin plugin","directories":{},"_nodeVersion":"5.11.0","dependencies":{"svgo":"^0.6.0","is-svg":"^2.0.0"},"devDependencies":{"xo":"*","ava":"*"},"_npmOperationalInternal":{"tmp":"tmp/imagemin-svgo-5.0.0.tgz_1461936847238_0.1593687883578241","host":"packages-12-west.internal.npmjs.com"},"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":1461936849511,"_cnpm_publish_time":1461936849511,"dist-tags":{"latest":"12.0.0"}}