Can you suggest good, free of charge tools (ideally with a command line interface) to compress JavaScript code?
I will take experiences and tips in to consideration when selecting the best tool.
Can you suggest good, free of charge tools (ideally with a command line interface) to compress JavaScript code?
I will take experiences and tips in to consideration when selecting the best tool.
UglifyJS is pretty nice. If you have node.js+npm installed, just do npm install -g uglify-js
then use the 'uglifyjs' command.
It achieves similar or better compression than Closure Compiler, with less danger of mangling your code, and is very fast.