ssassi / standard-format

Converts your code into Semistandard JavaScript Format, keeping semicolons!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

standard-format

Build Status

experimental auto formatter for the easier cases in standard

NPM

Installation

Install with npm

$ npm install -g 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

About

Converts your code into Semistandard JavaScript Format, keeping semicolons!


Languages

Language:JavaScript 100.0%