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 js_beautify.pl [options] -
11
13 -?, --help
14 -w, --overwrite
15 if -w, it will overwrite the "FILE"
16
17 -o, --output
18 By default, we will print beautified javascript to STDOUT
19
20 if --output=newfile.js, it will write into "newfile.js"
21
22 -s, --indent_size
23 -c, --indent_character
24 By default, we use 4 spaces.
25
26 but if you prefer 8 spaces, we can do -s=8
27
28 -p, --preserve_newlines
29 1 by default
30
32 Copyright 2009 Fayland Lam, all rights reserved.
33
34 This program is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37
38
39perl v5.36.0 2022-07-22 JS_BEAUTIFY(1)