zopflipng-bin
`zopflipng` wrapper that makes it seamlessly available as a local dependency
Last updated 4 years ago by 1000ch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install zopflipng-bin 
SYNC missed versions from official npm registry.

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

import {execFile} from 'node:child_process';
import zopflipng from '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

Current Tags

  • 7.1.0                                ...           latest (4 years ago)

24 Versions

  • 7.1.0                                ...           4 years ago
  • 7.0.1                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 6.0.1                                ...           6 years ago
  • 6.0.0                                ...           6 years ago
  • 5.0.0                                ...           7 years ago
  • 4.1.0                                ...           8 years ago
  • 4.0.0                                ...           9 years ago
  • 3.0.1                                ...           11 years ago
  • 3.0.0                                ...           11 years ago
  • 2.0.1                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 1.0.1                                ...           12 years ago
  • 0.1.12                                ...           12 years ago
  • 0.1.11                                ...           12 years ago
  • 0.1.9                                ...           12 years ago
  • 0.1.8                                ...           12 years ago
  • 0.1.7                                ...           12 years ago
  • 0.1.6                                ...           12 years ago
  • 0.1.5                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Downloads
Today 0
This Week 4
This Month 4
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |