converts your code into Hapiness JavaScript Format
Pull request Compare This branch is 5 commits ahead, 95 commits behind ricardofbarros:master.
Latest commit 5d47169 Jan 29, 2016 @martinheidegger 1.1.0


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


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 🎓

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

Elshoff & Marcotty, 1982