Beautifier for javascript
JavaScript
Pull request Compare This branch is 4 commits ahead, 981 commits behind beautify-web:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.gitmodules
.npmignore
LICENSE-MIT
README.md
grunt.js
js-beautify-licence.txt
package.json

README.md

node-js-beautify

Another fork of js-beautify for node

Getting Started

Install the module with: npm install node-js-beautify

var Beautifier = require('node-js-beautify');
var b = new Beautifier(); // "awesome"
console.log(b.beautify_js('var a;', {});
console.log(b.beautify_html('<a href=""/>', {});
console.log(b.beautify_css('text-decoration: underline;', {});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

v0.1.0 - Initial release

License

Copyright (c) 2012 Camille Moncelier
Licensed under the MIT license.