https://github.com/jdf2e/jdf-webp-png
A webp-png wrapper for JDF
https://github.com/jdf2e/jdf-webp-png
Last synced: 11 months ago
JSON representation
A webp-png wrapper for JDF
- Host: GitHub
- URL: https://github.com/jdf2e/jdf-webp-png
- Owner: jdf2e
- Created: 2016-11-21T01:54:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T14:43:10.000Z (over 9 years ago)
- Last Synced: 2025-07-06T03:42:04.147Z (11 months ago)
- Language: JavaScript
- Size: 2.3 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-png/)
[](http://badge.fury.io/js/jdf-webp-png) [](https://travis-ci.org/jdf2e/jdf-webp-png)
# jdf-webp-png
> A webp-png wrapper for JDF
## Install
```
$ npm install --save jdf-webp-png
```
## Usage
```js
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
```