Nine Parsecs from Milwaukee

    mozjpeg
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/mozjpeg package

    7.1.0 • Public • Published

    mozjpeg-bin GitHub Actions 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

    Install

    npm i mozjpeg

    DownloadsWeekly Downloads

    514,794

    Version

    7.1.0

    License

    MIT

    Unpacked Size

    1.64 MB

    Total Files

    8

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar