gulp-jsbeautify

0.1.1 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i gulp-jsbeautify

Weekly Downloads

138

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sorrycc