Unibeautify
  • Install
  • Docs
  • Assistant
  • Playground
  • GitHub

›J

C

  • C
  • ColdFusion
  • C++
  • C#
  • CSS

E

  • EJS

G

  • Go
  • GraphQL

H

  • Handlebars
  • Haskell
  • HTML
  • HTML+ERB

J

  • Java
  • JavaScript
  • JSON
  • JSON5
  • JSX

L

  • Less
  • Liquid

M

  • Markdown
  • Mustache

O

  • Objective-C

P

  • PHP
  • Python

R

  • Riot

S

  • Sass
  • SCSS
  • Spacebars
  • SQL
  • SugarSS
  • SVG
  • Swig

T

  • Titanium Style Sheets
  • Twig
  • TypeScript

V

  • Visualforce
  • Vue

X

  • XML
  • XTemplate
Edit

JavaScript

Atom Grammars: JavaScript

VSCode Languages: javascript

File Patterns: **/Jakefile, **/*._js, **/*.bones, **/*.es, **/*.es6, **/*.frag, **/*.gs, **/*.jake, **/*.js, **/*.jsb, **/*.jscad, **/*.jsfl, **/*.jsm, **/*.jss, **/*.mjs, **/*.njs, **/*.pac, **/*.sjs, **/*.ssjs, **/*.xsjs, **/*.xsjslib

Supported Beautifiers

BeautifierOptionsDownloadsStarsIssues
ESLint17@unibeautify/beautifier-eslint npm downloadsGitHub StarsGitHub Issues
JS-Beautify17@unibeautify/beautifier-js-beautify npm downloadsGitHub StarsGitHub Issues
Prettier11@unibeautify/beautifier-prettier npm downloadsGitHub StarsGitHub Issues
Pretty Diff11@unibeautify/beautifier-prettydiff npm downloadsGitHub StarsGitHub Issues

Options

#OptionESLintJS-BeautifyPrettierPretty Diff
1Align Assignments❌❌❌✅
2Arrow Parens✅❌✅❌
3Brace Style✅✅❌❌
4Break Chained Methods✅✅❌✅
5Comma First✅✅❌❌
6End With Comma✅❌✅✅
7End With Newline✅✅❌❌
8End With Semicolon✅❌✅❌
9Indent Chained Methods✅✅❌❌
10Indent Comments❌❌❌✅
11Indent Size✅✅✅✅
12Indent Style✅✅✅✅
13JSLint Happy❌✅❌❌
14JSX Brackets❌❌✅❌
15Keep Array Indentation✅✅❌❌
16Max Preserve Newlines❌✅❌✅
17Multiline Ternary❌❌❌✅
18Object Curly Spacing✅❌✅❌
19Pragma Insert❌❌✅❌
20Pragma Require❌❌✅❌
21Preserve Newlines❌✅❌❌
22Quotes✅❌✅✅
23Remove Trailing Whitespace✅❌❌❌
24Space After Anon Function✅✅❌✅
25Space Before Conditional✅✅❌❌
26Space In Empty Paren❌✅❌❌
27Space In Paren✅✅❌❌
28Unescape Strings❌✅❌❌
29Wrap Line Length❌✅✅✅
← JavaJSON →
  • Supported Beautifiers
  • Options
Unibeautify
Docs
Getting StartedCLIConfigurationOptions
Community
User ShowcaseStack Overflow@Unibeautify on TwitterFollow Unibeautify on Twitter
More
GitHubStar Unibeautify on GitHubCode coverage of UnibeautifyCode coverage of Unibeautify
© 2020 Glavin Wiechert
Credits