UglifyJS
JavaScript parser library for NodeJS
UglifyJS-old is the original version of UglifyJS, a JavaScript toolkit for parsing, compressing, mangling, and beautifying source code. Its parser converts JavaScript into an abstract syntax tree that can be inspected or manipulated programmatically. The code generator can rebuild readable JavaScript or remove unnecessary whitespace to reduce file size. Its mangler shortens variable names while accounting for scope, globals, eval calls, and with statements. Compression routines simplify expressions, combine declarations, transform conditionals, and remove unreachable code. ...