jdf-webp-png

0.0.5 • Public • Published

NPM

NPM version Build Status

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

Package Sidebar

Install

npm i jdf-webp-png

Weekly Downloads

3

Version

0.0.5

License

MIT

Last publish

Collaborators

  • wshxbqq