optipng-bin
OptiPNG wrapper that makes it seamlessly available as a local dependency on OS X, Linux, FreeBSD and Windows
Last updated 11 years ago by kevva .
· Repository · Bugs · Original npm · Tarball · package.json
$ npm install optipng-bin 
SYNC missed versions from official npm registry.

optipng-bin GitHub Actions Status

OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information

You probably want imagemin-optipng instead.

Install

$ npm install --save optipng-bin

Usage

import {execFile} from 'node:child_process';
import optipng from 'optipng-bin';

execFile(optipng, ['-out', 'output.png', 'input.png'], error => {
	console.log('Image minified!');
});

CLI

$ npm install --global optipng-bin
$ optipng --help

Current Tags

  • 9.0.0                                ...           latest (3 years ago)

50 Versions

  • 9.0.0                                ...           3 years ago
  • 8.1.0                                ...           3 years ago
  • 8.0.1                                ...           3 years ago
  • 8.0.0                                ...           3 years ago
  • 7.0.1                                ...           3 years ago
  • 7.0.0                                ...           5 years ago
  • 6.0.0                                ...           6 years ago
  • 5.1.0                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 4.0.0                                ...           8 years ago
  • 3.1.4                                ...           8 years ago
  • 3.1.3                                ...           8 years ago
  • 3.1.2                                ...           9 years ago
  • 3.1.1-rc.3                                ...           9 years ago
  • 3.1.1-rc.2                                ...           9 years ago
  • 3.1.1-rc.1                                ...           9 years ago
  • 3.1.1                                ...           9 years ago
  • 3.1.0                                ...           9 years ago
  • 3.0.4                                ...           9 years ago
  • 3.0.3                                ...           9 years ago
  • 3.0.2                                ...           10 years ago
  • 3.0.1                                ...           10 years ago
  • 3.0.0                                ...           10 years ago
  • 2.0.4                                ...           10 years ago
  • 2.0.3                                ...           10 years ago
  • 2.0.2                                ...           10 years ago
  • 2.0.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.3.11                                ...           10 years ago
  • 0.3.10                                ...           10 years ago
  • 0.3.9                                ...           11 years ago
  • 0.3.8                                ...           11 years ago
  • 0.3.7                                ...           11 years ago
  • 0.3.6                                ...           11 years ago
  • 0.3.5                                ...           11 years ago
  • 0.3.4                                ...           11 years ago
  • 0.3.3                                ...           11 years ago
  • 0.3.2                                ...           11 years ago
  • 0.3.1                                ...           11 years ago
  • 0.3.0                                ...           11 years ago
  • 0.2.6                                ...           12 years ago
  • 0.2.5                                ...           12 years ago
  • 0.2.4                                ...           12 years ago
  • 0.2.3                                ...           12 years ago
  • 0.2.2                                ...           12 years ago
  • 0.2.1                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE