Which javascript minification library produces better results? [closed]
Between Yahoo! UI Compressor , Dean Edwards Packer and jsmin , which produces better results, both in terms of resulting footprint and fewer errors when obfuscating. Better is a bit subjective here, since there are multiple factors to consider (even beyond those you list): Compressed size doesn't tell the whole story, since an aggressive compressor can result in slower run-time performance due to the additional time needed to run unpacking code prior to browser interpretation. Errors are easiest to avoid when you control the input code - judicious use of semicolons goes a long way. Run JSLint