gulp-jscrush

Minify files with JSCrush

gulp-jscrush

Minify javascript files with JSCrush

npm install --save-dev gulp-jscrush
var gulp = require('gulp');
var jscrush = require('./index');
 
gulp.task('default', function(){
    gulp.src('./test.js')
        .pipe(jscrush())
        .pipe(gulp.dest('./build'));
})