Description
Compresses JavaScript files intelligently, without using common zip algorithms.
The point
- Some JavaScript source files are quite large, and a smaller size means a faster download speed.
- You may be bothered about people stealing your JavaScript source, it's a little tougher with compressed JavaScript.
Features
- Fastest and Smallest JavaScript Compressor in the world
- Removes unnesessary tabs and spaces
- Removes comments
- "Regular expressions" friendly
- Stand alone, command line utility (no .NET or Java needed)
- Weighs in at a 20 kilobytes
Compression example
function add(val1, val2) // my neat add function
{
return val1 + val2;
}
function getString() /** another neat function **/
{
name = "Joe";
likes = "Javascript";
return "Hi, my name is " + name + " and I like " + likes;
}
function add(val1,val2){return val1+val2;}function getString(){name="Joe";likes="Javascript";return "Hi, my name is "+name+" and I like "+likes;}