# advpng-bin

> AdvPNG bin-wrapper that makes it seamlessly available as a local dependency

Latest version **7.0.0** (published 2022-05-12) · MIT license · 0 weekly downloads

## Install

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

Provides the command `advpng`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 7.0.0 |
| Published | 2022-05-12 |
| First published | 2014-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 2 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 7 |
| Author | Shogo Sensui |
| Maintainers | nothingismagick, sindresorhus, kevva, 1000ch, xhmikosr, shinnn |
| Keywords | imagemin, compress, image, img, minify, optimize, png, advpng |

## Links

- npm: https://www.npmjs.com/package/advpng-bin
- Repository: https://github.com/imagemin/advpng-bin
- Homepage: https://github.com/imagemin/advpng-bin#readme
- Issues: https://github.com/imagemin/advpng-bin/issues
- npm.io page: https://npm.io/package/advpng-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.1.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

- 7.0.0 (latest) — 2022-05-12
- 6.0.1 — 2021-11-10
- 6.0.0 — 2021-10-23
- 5.0.2 — 2021-10-22
- 5.0.1 — 2020-06-30
- 5.0.0 — 2020-05-30
- 4.0.0 — 2019-10-23
- 3.0.0 — 2015-11-09
- 2.0.2 — 2014-11-24
- 2.0.1 — 2014-11-04
- 2.0.0 — 2014-10-20
- 1.0.1 — 2014-09-16
- 1.0.0 — 2014-09-16
- 0.1.6 — 2014-07-19
- 0.1.5 — 2014-04-30
- … 6 more at https://npm.io/package/advpng-bin/versions

## README

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

> The main purpose of this utility is to recompress png files to get the smallest possible size

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

## Install

```
$ npm install --save advpng-bin
```

## Usage

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

execFile(advpng, ['--recompress', '--shrink-extra', 'image.png'], error => {
	console.log('Image minified!');
});
```

## CLI

```
$ npm install --global advpng-bin
```

```
$ advpng --help
```

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