Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gulp-smushit with all npm packages installed. Try it out:

var gulpSmushit = require("gulp-smushit")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-smushit v1.2.0

Gulp plugin to optimize PNG and JPG using

gulp-smushit Build Status

Gulp plugin to optimize PNG and JPG using Made on top of smosh. is a FREE alternative to Yahoo (deprecated on March 2015). This tool provides a online way to optimize pictures size via a documented webservice.

Read more about

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}')





Type: boolean
Default: false

Show compress rate stats


MIT © Helder Santana


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free