Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

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

About

Beautify JavaScript code with esformatter

Topics

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.