jdf-png
v0.0.5
Published
A pngquant wrapper for JDF
Downloads
21
Maintainers
Readme
jdf-png
A pngquant wrapper for JDF
Install
$ npm install --save jdf-png
Usage
const execFile = require('child_process').execFile;
const pngquant = require('jdf-png');
execFile(pngquant, ['-o', 'output.png', 'input.png'], err => {
console.log('Image minified!');
});
CLI
$ npm install --global jdf-png
$ jdf-png --help