node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

gulp-jsbeautify

gulp-jsbeautify

Build Status

js-beautify plugin for gulp.


Install

$ npm install gulp-jsbeautify

Usage

var beautify = require('gulp-jsbeautify');
 
gulp.task('beautify', function() {
  gulp.src('./src/*.js')
    .pipe(beautify({indentSize: 2}))
    .pipe(gulp.dest('./build/'));
});

Options

You can pass in any options and it passes them directly to js-beautify.

LICENSE

The MIT License (MIT)