happiness-format
attempts to reformat javascript to comply with jedwatson/happiness style
Last updated 5 years ago by leichtgewicht .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install happiness-format 
SYNC missed versions from official npm registry.

happiness-format

This is a fork of semistandard-format same concept but with semicolons and tabs.

Installation

Install with npm

$ npm install -g happiness-format

Example Usage

Output all formatted javascript in a directory and subdirectories to stdout

$ happiness-format

Format all javascript files, overwriting them into standard format

$ happiness-format -w

Format javascript over stdin

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

Format and overwrite specific files

$ happiness-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.1.0                                ...           latest (5 years ago)

3 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 0
Dev Dependencies (9)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |