Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-esformatter

sindresorhus97MITdeprecated8.0.0

The esformatter project is no longer maintained.

Beautify JavaScript code with esformatter

gulpplugin, javascript, ecmascript, js, code, style, conventions, ast, format, formatter, beautify, beautifier

readme

Deprecated

The esformatter project is no longer maintained.


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

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

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

API

esformatter(options)

See the esformatter options.

Options are passed to esformatter.rc().

License

MIT © Sindre Sorhus