sane-format
attempts to reformat javascript to comply with a sane legible style
Last updated 4 years ago by hanakin .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sane-format 
SYNC missed versions from official npm registry.

sane-format

This is a fork of hapiness-format same concept but with soft 4 space tabs like the rest of the world uses!

Installation

Install with npm

$ npm install -g sane-format

Example Usage

Output all formatted javascript in a directory and subdirectories to stdout

$ sane-format

Format all javascript files, overwriting them into standard format

$ sane-format -w

Format javascript over stdin

$ sane-format < file.js > formatted-file.js

Format and overwrite specific files

$ sane-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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |