{"name":"mozjpeg","version":"2.0.0","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","imagemin-log":"^1.0.0"},"devDependencies":{"ava":"^0.0.4","bin-check":"^1.0.0","compare-size":"^1.0.1"},"gitHead":"8097386298bb822766e8eb920c26686b7f0d7b1f","bugs":{"url":"https://github.com/imagemin/mozjpeg-bin/issues"},"homepage":"https://github.com/imagemin/mozjpeg-bin","_id":"mozjpeg@2.0.0","_shasum":"1777c17cd0b6bbaabf810043f0153242c9183054","_from":".","_npmVersion":"2.1.5","_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":"1777c17cd0b6bbaabf810043f0153242c9183054","tarball":"http://registry-npm.ywwl.com/mozjpeg/download/mozjpeg-2.0.0.tgz","integrity":"sha512-thYhcYGG/34A/79KUH/1rJ6PTfpEhm88Dm7urbQU3//NHWEQgihAyQ4iThG5JxjmlJ85JNxZJLqX1lZ1LJrglA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnObNifl9OM1OuN4jLNQXw9XZ6I4KuUYm2bvSlG08PSQIhAITzBUNUOcdU/J7bDrsX/9XX/23uFEy/RGyNor0Xjoxe"}],"size":51462,"noattachment":false,"key":"/mozjpeg/-/mozjpeg-2.0.0.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":1413818860830,"_cnpm_publish_time":1413818860830,"dist-tags":{"latest":"8.0.0","next":"4.1.3-rc.4"}}