{"name":"mozjpeg","version":"2.0.4","description":"mozjpeg wrapper that makes it seamlessly available as a local dependency","license":"MIT","repository":{"type":"git","url":"https://github.com/imagemin/mozjpeg-bin"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"mozjpeg":"cli.js"},"scripts":{"postinstall":"node lib/install.js","test":"mkdir test/tmp && node test/test.js && rm -rf test/tmp"},"files":["cli.js","index.js","lib","test"],"keywords":["jpeg","jpg","img","image","compress","minify","mozjpeg","optimize"],"dependencies":{"bin-build":"^2.0.0","bin-wrapper":"^2.0.1","logalot":"^2.0.0"},"devDependencies":{"ava":"^0.0.4","bin-check":"^1.0.0","compare-size":"^1.0.1"},"gitHead":"66a0c1d14789b24a4d1c4869a66ef47f4e5bf4ee","bugs":{"url":"https://github.com/imagemin/mozjpeg-bin/issues"},"homepage":"https://github.com/imagemin/mozjpeg-bin","_id":"mozjpeg@2.0.4","_shasum":"0b92e5ad5e56e3e398c770555058cc4f3e5d4ee5","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"0b92e5ad5e56e3e398c770555058cc4f3e5d4ee5","tarball":"http://registry-npm.ywwl.com/mozjpeg/download/mozjpeg-2.0.4.tgz","integrity":"sha512-PwnJ+9PxMmSSih5hQHkhj+gS3/KC6/IQ2sXEMik/lym3S2RzaMcbue3Z+zAdq93h/ECUAhIUZI9Bht9FBvALVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiRS8u+sSaQQyP/I4N/WoOXOSn5n7L2jCN9W73aIaIGgIhAMkp6DeMuDAej8BH9uhKhVwvrGShNcT6mBLpkdWxc8Kd"}],"size":96363,"noattachment":false,"key":"/mozjpeg/-/mozjpeg-2.0.4.tgz"},"directories":{},"readme":"# mozjpeg-bin ![GitHub Actions Status](https://github.com/imagemin/mozjpeg-bin/workflows/test/badge.svg?branch=main)\n\n> [mozjpeg](https://github.com/mozilla/mozjpeg) is a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders\n\nYou probably want [`imagemin-mozjpeg`](https://github.com/imagemin/imagemin-mozjpeg) instead.\n\n\n## Install\n\n```\n$ npm install mozjpeg\n```\n\n\n## Usage\n\n```js\nimport {execFile} from 'node:child_process';\nimport mozjpeg from 'mozjpeg';\n\nexecFile(mozjpeg, ['-outfile', 'output.jpg', 'input.jpg'], err => {\n\tconsole.log('Image minified!');\n});\n```\n\n\n## CLI\n\n```\n$ npm install --global mozjpeg\n```\n\n```\n$ mozjpeg --help\n```\n\n\n## License\n\nMIT © [Imagemin](https://github.com/imagemin)\n","publish_time":1418043901144,"_cnpm_publish_time":1418043901144,"dist-tags":{"latest":"8.0.0","next":"4.1.3-rc.4"}}