gulp-smushit ![Build Status](https://camo.githubusercontent.com/20f6549c6ca7b0fc65bbb6befe03698c326dd336f24b903449e088fba73a4f54/68747470733a2f2f7472617669732d63692e6f72672f68656c64722f67756c702d736d75736869742e7376673f6272616e63683d6d6173746572)
Gulp plugin to optimize PNG and JPG using reSmush.it. Made on top of smosh.
reSmush.it is a FREE alternative to Yahoo Smush.it (deprecated on March 2015). This tool provides a online way to optimize pictures size via a documented webservice.
Prefer Grunt? grunt-smushit
$ npm install --save-dev gulp-smushit
var gulp = require('gulp');
var smushit = require('gulp-smushit');
gulp.task('default', function () {
return gulp.src('src/**/*.{jpg,png}')
.pipe(smushit())
.pipe(gulp.dest('dist'));
});
Type: boolean
Default: false
Show compress rate stats
MIT © Helder Santana