Javascript Cruncher

Description

Compresses JavaScript files intelligently, without using common zip algorithms.

The point

Features

Compression example

Before
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;
}

After
function add(val1,val2){return val1+val2;}function getString(){name="Joe";likes="Javascript";return "Hi, my name is "+name+" and I like "+likes;}

Translations

This article has been translated into Serbo-Croatian by Jovana Milutinovich from Web Geeks Resources.