8.0.0 • Published 3 years ago
cwebp-bin v8.0.0
cwebp-bin 
WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index.
You probably want imagemin-webp instead.
Install
$ npm install cwebp-binUsage
import {execFile} from 'node:child_process';
import cwebp from 'cwebp-bin';
execFile(cwebp, ['input.png', '-o', 'output.webp'], err => {
if (err) {
throw err;
}
console.log('Image is converted!');
});CLI
$ npm install --global cwebp-bin$ cwebp --helpLicense
MIT © Imagemin
8.0.0
3 years ago
7.0.1
4 years ago
7.0.0
4 years ago
6.1.2
4 years ago
6.1.1
5 years ago
6.1.0
5 years ago
6.0.0
5 years ago
5.1.0
6 years ago
5.0.0
7 years ago
4.0.0
8 years ago
3.2.0
9 years ago
3.1.0
10 years ago
3.0.0
11 years ago
2.0.5
11 years ago
2.0.4
11 years ago
2.0.3
11 years ago
2.0.2
11 years ago
2.0.1
11 years ago
2.0.0
11 years ago
1.0.0
11 years ago
0.1.8
11 years ago
0.1.7
11 years ago
0.1.6
11 years ago
0.1.5
11 years ago
0.1.4
11 years ago
0.1.3
11 years ago
0.1.2
11 years ago
0.1.1
11 years ago
0.1.0
11 years ago