jdf-webp-gif

0.0.5 • Public • Published

NPM

NPM version Build Status

jdf-webp-gif

A cwebp-gif wrapper for JDF

Install

$ npm install --save jdf-webp-gif

Usage

var execFile = require('child_process').execFile;
var cwebp = require('jdf-webp-gif');
 
execFile(cwebp, ['input.gif', '-o', 'output.webp'], function (err) {
    if (err) {
        throw err;
    }
    console.log('Image is converted!');
});

CLI

$ npm install --global jdf-webp-gif
$ jdf-webp-gif --help

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jdf-webp-gif

    Weekly Downloads

    3

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • wshxbqq