JavaScript equivalent of C indent
<p>There is a GNU <code>indent</code> for styling C sources, are there any equivalents for JavaScript?</p>

<p>I want it to have options for coding style, indention style, etc. just like <code>indent</code>.</p>

<p>I will be using it for a pretty large project on *NIX platform, so I will not like Windows-only utilities or online tools.</p>
