1JS_BEAUTIFY(1) User Contributed Perl Documentation JS_BEAUTIFY(1)
2
3
4
6 js_beautify.pl - command tool to beautify your javascript files
7
9 js_beautify.pl [options] FILE
10
12 -?, --help
13 -o, --output
14 By default, we will print beautified javascript to STDOUT
15
16 if -o, it will override the "FILE"
17
18 if -output=newfile.js, it will write into "newfile.js"
19
20 -s, --indent_size
21 -c, --indent_character
22 By default, we use 4 spaces.
23
24 but if you prefer 8 spaces, we can do -s=8
25
26 -p, --preserve_newlines
27 1 by default
28
30 Copyright 2009 Fayland Lam, all rights reserved.
31
32 This program is free software; you can redistribute it and/or modify it
33 under the same terms as Perl itself.
34
35
36
37perl v5.12.0 2010-05-02 JS_BEAUTIFY(1)