xy-mozjpeg

5.0.0-rc.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 5.0.0-rc.2
    0
    • latest

Version History

Package Sidebar

Install

npm i xy-mozjpeg

Weekly Downloads

0

Version

5.0.0-rc.2

License

MIT

Last publish

Collaborators

  • soulteary