gulp-pngquant

1.0.13 • Public • Published

gulp-pngquant

pngquant plugin

Installation

$ npm install gulp-pngquant

Usage

const gulp = require('gulp');
const gulpPngquant = require('gulp-pngquant');
 
gulp.task('compress', function() {
    gulp.src('./images/*.png')
        .pipe(gulpPngquant({
            quality: '65-80'
        }))
        .pipe(gulp.dest('./compressed/'));
});
 
gulp.task('default', ['compress']);

License

MIT © leidottw

Package Sidebar

Install

npm i gulp-pngquant

Weekly Downloads

153

Version

1.0.13

License

MIT

Unpacked Size

3.67 kB

Total Files

4

Last publish

Collaborators

  • leidottw