UglifyJS is a new one.
UglifyJS compresses better than YUI
Compressor and just about on par with
the Google Closure Compiler. For
example, the compressed version of
jQuery from the Google Closure
Compiler is only 403 bytes smaller
than the version produced by UglifyJS
- impressive! UglifyJS is also the fastest to run by a long shot, beating
Closure by over 6 seconds!
Additionally, the code produced by
UglifyJS is safer than the code that
Closure generates. For example,
Closure doesn’t know how to deal with
eval or with{} - it just logs an error
and continues to rename variables
anyway. This, obviously, leads to
broken code. UglifyJS does not have
this problem.
More information can be found here:
http://badassjs.com/post/971960912/uglifyjs-a-fast-new-javascript-compressor-for-node-js