mozjpeg-jsdelivr

6.0.1 • Public • Published

Install Forked version

$ npm install mozjpeg-jsdelivr

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

/mozjpeg-jsdelivr/

    Package Sidebar

    Install

    npm i mozjpeg-jsdelivr

    Weekly Downloads

    3

    Version

    6.0.1

    License

    MIT

    Unpacked Size

    4.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • magicdawn