gulp-jsbeautify

v0.1.0
js-beautify plugin for gulp
gulpplugin

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)

Metadata

  • MIT
  • Whatever
  • chencheng
  • released 6/5/2014

Downloads

Maintainers