Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (over 10 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T02:32:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T23:51:24.488Z (3 months ago)
- Topics: cwebp, gulp, image, webp
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/gulp-cwebp
- Size: 1.11 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-cwebp ![GitHub Actions Status](https://github.com/1000ch/gulp-cwebp/workflows/test/badge.svg?branch=main)
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)