2.2.2 • Published 8 years ago

lapanoid-standard-format v2.2.2

Weekly downloads
5
License
BSD-2-Clause
Repository
github
Last release
8 years ago

standard-format

Build Status Dependency 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

Editor plugins

Science :mortar_board:

A new step should be added to the modification cycle: modifying the program to make it readable.

Elshoff & Marcotty, 1982