gulp-esformatter

Beautify JavaScript code with esformatter

npm install gulp-esformatter
10 downloads in the last week
33 downloads in the last month

gulp-esformatter Build Status

Beautify JavaScript code with esformatter

Issues with the output should be reported on the esformatter issue tracker.

Install

$ npm install --save-dev gulp-esformatter

Usage

var gulp = require('gulp');
var esformatter = require('gulp-esformatter');

gulp.task('default', function () {
    return gulp.src('src/app.js')
        .pipe(esformatter({indent: {value: '  '}}))
        .pipe(gulp.dest('dist'));
});

API

esformatter(options)

See the esformatter options.

License

MIT © Sindre Sorhus

npm loves you