@mole-inc/mozjpeg

8.0.0 • Public • Published

mozjpeg-bin Node CI

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.

Downloads Version codecov

Install

$ npm install @mole-inc/mozjpeg

Usage

import {execFile} from 'child_process';
import mozjpeg from '@mole-inc/mozjpeg';

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

CLI

$ npm install --global @mole-inc/mozjpeg
$ mozjpeg --help

License

This is a fork of imagemin/mozjpeg-bin licensed under the MIT License.

see license file and vendor/mozjpeg-license.txt file.

Package Sidebar

Install

npm i @mole-inc/mozjpeg

Weekly Downloads

3

Version

8.0.0

License

MIT

Unpacked Size

7.21 kB

Total Files

6

Last publish

Collaborators

  • aaharu