https://github.com/jdf2e/jdf-webp-gif
A webp-gif wrapper for JDF
https://github.com/jdf2e/jdf-webp-gif
Last synced: about 1 year ago
JSON representation
A webp-gif wrapper for JDF
- Host: GitHub
- URL: https://github.com/jdf2e/jdf-webp-gif
- Owner: jdf2e
- Created: 2016-11-21T01:57:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T14:42:55.000Z (over 9 years ago)
- Last Synced: 2025-04-28T18:53:28.495Z (about 1 year ago)
- Language: JavaScript
- Size: 4.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://nodei.co/npm/jdf-webp-gif/)
[](http://badge.fury.io/js/jdf-webp-gif) [](https://travis-ci.org/jdf2e/jdf-webp-gif)
# jdf-webp-gif
> A cwebp-gif wrapper for JDF
## Install
```
$ npm install --save jdf-webp-gif
```
## Usage
```js
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
```