mozjpeg-mirror
use https://npm.taobao.org/mirrors/mozjpeg-bin/ as downlaod source
mozjpeg-bin
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-mirror
Usage
const execFile = ;const mozjpeg = ; ;
CLI
$ npm install --global mozjpeg-mirror
$ mozjpeg --help
License
MIT © Imagemin