jdf-png

0.0.5 • Public • Published

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

Package Sidebar

Install

npm i jdf-png

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • wshxbqq