experimental auto formatter for the easier cases in standard
Install with npm
$ npm install -g standard-format
Output all formatted javascript in a directory and subdirectories to stdout
$ standard-format
Format all javascript files, overwriting them into standard format
$ standard-format -w
Format javascript over stdin
$ standard-format < file.js > formatted-file.js
Format and overwrite specific files
$ standard-format -w file1.js file2.js
- Sublime Text: sublime-standard-format
- Atom: atom-standard-formatter
A new step should be added to the modification cycle: modifying the program to make it readable.