Network Performance Monitor
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

zopflipng-bin

4.1.0 • Public • Published

zopflipng-bin Build Status

zopfli Compression Algorithm is a new zlib (gzip, deflate) compatible compressor that takes more time (~100x slower), but compresses around 5% better than zlib and better than any other zlib-compatible compressor

You probably want imagemin-zopfli instead.

Install

$ npm install zopflipng-bin

Usage

const {execFile} = require('child_process');
const zopflipng = require('zopflipng-bin');
 
execFile(zopflipng, ['-m', '--lossy_8bit', 'input.png', 'outout.png'], () => {
    console.log('Image minified!');
});

CLI

$ npm install --global zopflipng-bin
$ zopflipng --help

License

MIT © Imagemin

install

npm i zopflipng-bin

Downloadsweekly downloads

5,236

version

4.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability