jdf-webp-png
0.0.5 • Public • Published
jdf-webp-png
A webp-png wrapper for JDF
Install
$ npm install --save jdf-webp-png
Usage
var execFile = require('child_process').execFile;
var cwebp = require('jdf-webp-png');
execFile(cwebp, ['input.png', '-o', 'output.webp'], function (err) {
if (err) {
throw err;
}
console.log('Image is converted!');
});
CLI
$ npm install --global jdf-webp-png
$ jdf-webp-png --help
Dependencies (1)
Dev Dependencies (0)
Package Sidebar
Install
Weekly Downloads