advpng-bin

7.0.0 • Public • Published

advpng-bin GitHub Actions Status

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

You probably want imagemin-advpng instead.

Install

$ npm install --save advpng-bin

Usage

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.042latest

Version History

VersionDownloads (Last 7 Days)Published
7.0.042
6.0.10
6.0.01
5.0.2248
5.0.11
5.0.00
4.0.030
3.0.0395
2.0.231
2.0.10
2.0.00
1.0.11
1.0.00
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.10

Package Sidebar

Install

npm i advpng-bin

Weekly Downloads

749

Version

7.0.0

License

MIT

Unpacked Size

1.2 MB

Total Files

8

Last publish

Collaborators

  • sindresorhus