Javascript beautifier. Working on node'ifying it.
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with carlo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
LICENSE.txt
README.markdown
beautify-node.js
beautify.js

README.markdown

JS Beautifier, node.js version

A fork of github.com/einars/js-beautify to make it fit into my node.js setup while removing all the things I don't need (YMMV).

Usage

Beautify from the command line:

node beautify-node.js [options] [file || URL || STDIN]

Requirements

  • node.js

Acknowledgements

The original JS Beautifier is written by Einar Lielmanis. The core file beautify.js is virtually unchanged; I've only cleaned it up so I could lint it with my default JSLint settings should I decide to enhance it.

I threw out pretty much everything else as I don't need it.

License

MIT-License, see LICENSE.txt.