# pngout-bin

> pngout wrapper that makes it seamlessly available as a local dependency

Latest version **6.0.1** (published 2021-11-10) · MIT license · 0 weekly downloads

## Install

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

Provides the command `pngout`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.1 |
| Published | 2021-11-10 |
| First published | 2014-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 15 |
| Author | Shogo Sensui |
| Maintainers | nothingismagick, sindresorhus, kevva, shinnn, 1000ch, bradbaris, xhmikosr |
| Keywords | imagemin, compress, image, img, minify, optimize, png, pngout |

## Links

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

## Dependencies (1)

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

## 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

- 6.0.1 (latest) — 2021-11-10
- 6.0.0 — 2021-10-23
- 5.0.0 — 2020-06-02
- 4.0.0 — 2018-10-31
- 3.0.0 — 2015-11-18
- 2.0.1 — 2014-11-24
- 2.0.0 — 2014-10-20
- 1.0.0 — 2014-09-20
- 0.1.6 — 2014-09-20
- 0.1.5 — 2014-08-13
- 0.1.4 — 2014-07-25
- 0.1.2 — 2014-04-30
- 0.1.1 — 2014-04-23
- 0.1.0 — 2014-03-15

## README

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

> [pngout](http://advsys.net/ken/util/pngout.htm) optimizes the size of PNG files losslessly

You probably want [`imagemin-pngout`](https://github.com/imagemin/imagemin-pngout) instead.


## Install

```
$ npm install --save pngout-bin
```


## Usage

```js
import {execFile} from 'node:child_process';
import pngout from 'pngout-bin';

execFile(pngout, ['input.png', 'output.png', '-s0', '-k0', '-f0'], error => {
	console.log('Image minified!');
});
```


## CLI

```
$ npm install --global pngout-bin
```

```
$ pngout --help
```


## License

MIT © [Imagemin](https://github.com/imagemin)

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