Awesome Open Source
Awesome Open Source


The esformatter project is no longer maintained.


Beautify JavaScript using esformatter

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


$ apm install esformatter

Or, Settings → Install → Search for esformatter


Open the Command Palette and type esformatter.

Can also be run on just a selection. For example the code in a <script> tag.

There's a Format On Save option in the settings.


This plugin will first try to import the esformatter dependency in your project. If one can't be found, it will fall back to the bundled one with the following plugins (PR welcome for more).


Add the plugins you want to your config file:

	"plugins": [

Keyboard shortcut

Set the keyboard shortcut you want in your keymap:

	'cmd-shift-x': 'esformatter'


MIT © Sindre Sorhus

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,419
deprecated (183
atom-package (28