Kevin 29b9a0c50c clean && clean html base 4 éve
..
lib 29b9a0c50c clean && clean html base 4 éve
cli.js 29b9a0c50c clean && clean html base 4 éve
index.js 29b9a0c50c clean && clean html base 4 éve
license 29b9a0c50c clean && clean html base 4 éve
package.json 29b9a0c50c clean && clean html base 4 éve
readme.md 29b9a0c50c clean && clean html base 4 éve

readme.md

mozjpeg-bin Build Status

mozjpeg is a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders

You probably want imagemin-mozjpeg instead.

Install

$ npm install mozjpeg

Usage

const {execFile} = require('child_process');
const mozjpeg = require('mozjpeg');

execFile(mozjpeg, ['-outfile', 'output.jpg', 'input.jpg'], err => {
	console.log('Image minified!');
});

CLI

$ npm install --global mozjpeg
$ mozjpeg --help

License

MIT © Imagemin