A node module to pretty print JavaScript source code.

npm install atropa-jsformatter
16 downloads in the last week
35 downloads in the last month

Prettifies JavaScript on nodejs

It's as simple as:

var formatter, fs, source, out;

formatter = require('atropa-jsformatter');
fs = require('fs');

source = fs.readFileSync('./example messy code.js', 'utf8');

out = formatter(source);


Install it from npm

npm install atropa-jsformatter

Visual studio intellisense support is available in docs/vsdoc/OpenLayersAll.js Full documentation may be found at

npm loves you