6.1.1 • Published 7 years ago

timhwang21-gulp-esformatter v6.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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.

Options are passed through esformatter.rc().

License

MIT © Sindre Sorhus