# zopflipng-bin

> `zopflipng` wrapper that makes it seamlessly available as a local dependency

Latest version **7.1.0** (published 2021-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install zopflipng-bin
pnpm add zopflipng-bin
yarn add zopflipng-bin
bun add zopflipng-bin
```

Provides the command `zopflipng`.

## Health

**Score 28/100 (F)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 7.1.0 |
| Published | 2021-11-12 |
| First published | 2014-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/zopflipng-bin) |
| Module format | ESM |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 2 |
| Unpacked size | 195.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 50 |
| Author | Shogo Sensui |
| Maintainers | nothingismagick, sindresorhus, kevva, shinnn, 1000ch, bradbaris, xhmikosr |
| Keywords | imagemin, compress, image, img, minify, optimize, png, zopfli, zopflipng |

## Links

- npm: https://www.npmjs.com/package/zopflipng-bin
- Repository: https://github.com/imagemin/zopflipng-bin
- Homepage: https://github.com/imagemin/zopflipng-bin#readme
- Issues: https://github.com/imagemin/zopflipng-bin/issues
- npm.io page: https://npm.io/package/zopflipng-bin

## Dependencies (2)

- [bin-build](https://npm.io/package/bin-build.md) ^3.0.0
- [bin-wrapper](https://npm.io/package/bin-wrapper.md) ^4.0.1

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 7.1.0 (latest) — 2021-11-12
- 7.0.1 — 2021-11-10
- 7.0.0 — 2021-10-23
- 6.0.1 — 2020-06-30
- 6.0.0 — 2020-05-29
- 5.0.0 — 2018-12-09
- 4.1.0 — 2017-12-27
- 4.0.0 — 2017-03-24
- 3.0.1 — 2015-05-10
- 3.0.0 — 2015-04-22
- 2.0.1 — 2014-11-24
- 2.0.0 — 2014-10-20
- 1.0.1 — 2014-09-07
- 0.1.12 — 2014-08-13
- 0.1.11 — 2014-07-22
- … 9 more at https://npm.io/package/zopflipng-bin/versions

## README

# zopflipng-bin ![GitHub Actions Status](https://github.com/imagemin/zopflipng-bin/workflows/test/badge.svg?branch=main)


> [zopfli](https://github.com/google/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`](https://github.com/imagemin/imagemin-zopfli) instead.


## Install

```
$ npm install zopflipng-bin
```


## Usage

```js
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](https://github.com/imagemin)

---
_Source: https://npm.io/package/zopflipng-bin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
