https://github.com/1000ch/gulp-cwebp
Convert JPG and PNG images to WebP with gulp task.
https://github.com/1000ch/gulp-cwebp
cwebp gulp image webp
Last synced: 5 months ago
JSON representation
Convert JPG and PNG images to WebP with gulp task.
- Host: GitHub
- URL: https://github.com/1000ch/gulp-cwebp
- Owner: 1000ch
- Created: 2014-06-06T23:32:34.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T02:32:08.000Z (over 3 years ago)
- Last Synced: 2025-10-06T21:35:06.805Z (10 months ago)
- Topics: cwebp, gulp, image, webp
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/gulp-cwebp
- Size: 1.11 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-cwebp 
Convert JPG and PNG images to WebP with gulp task.
## Install
```sh
$ npm install --save-dev gulp-cwebp
```
## Usage
This is `gulpfile.js` sample.
```js
const gulp = require('gulp');
const cwebp = require('gulp-cwebp');
gulp.task('cwebp', function () {
gulp.src('./fixtures/*')
.pipe(cwebp())
.pipe(gulp.dest('./dest/'));
});
gulp.task('default', ['cwebp']);
```
## License
[MIT](https://1000ch.mit-license.org) © [Shogo Sensui](https://github.com/1000ch)