8.0.0 • Published 2 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-bin
Usage
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 --help
License
MIT © Imagemin
8.0.0
2 years ago
7.0.1
2 years ago
7.0.0
3 years ago
6.1.2
3 years ago
6.1.1
4 years ago
6.1.0
4 years ago
6.0.0
4 years ago
5.1.0
5 years ago
5.0.0
5 years ago
4.0.0
6 years ago
3.2.0
8 years ago
3.1.0
8 years ago
3.0.0
9 years ago
2.0.5
9 years ago
2.0.4
9 years ago
2.0.3
9 years ago
2.0.2
9 years ago
2.0.1
9 years ago
2.0.0
10 years ago
1.0.0
10 years ago
0.1.8
10 years ago
0.1.7
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago