videojs-standard-format
v1.3.7
Published
attempts to reformat javascript to comply with videojs/standard style
Downloads
5
Maintainers
Keywords
Readme
standard-format
experimental auto formatter for the easier cases in videojs-standard
Installation
Install with npm
$ npm install -g videojs-standard-format
Example Usage
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
Editor plugins
- Sublime Text: sublime-standard-format
Credits
This is a fork of maxogden/standard-format