0.0.5 • Published 7 years ago

jdf-png v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

NPM

NPM version Build Status

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