{"name":"mozjpeg","version":"3.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"],"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":"9bb00fa3dfa1594c31cd2cc6d3a102c524906cea","bugs":{"url":"https://github.com/imagemin/mozjpeg-bin/issues"},"homepage":"https://github.com/imagemin/mozjpeg-bin","_id":"mozjpeg@3.0.0","_shasum":"e23c89673026d2474ad5421662ff7dab12c08355","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"e23c89673026d2474ad5421662ff7dab12c08355","tarball":"http://registry-npm.ywwl.com/mozjpeg/download/mozjpeg-3.0.0.tgz","integrity":"sha512-hB5fxXM+2BxCncHfpOBFXglAoDsoxDkdD5LcqPNrWQpt29/DMZ8jEwtl8qEjIFOEJyInpQOEtIbKiYDxVUTAZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbrVFdaA0YcgotVN4uR4trgB+qOvZiY6UM1wyqWHSRwwIgK1rlV8f/AriuMsjA/fj5tMqaoVPV4CnrTc1uqeT/KZM="}],"size":2562,"noattachment":false,"key":"/mozjpeg/-/mozjpeg-3.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":1422345639820,"_cnpm_publish_time":1422345639820,"dist-tags":{"latest":"8.0.0","next":"4.1.3-rc.4"}}