Good JavaScript compression tool

P

petermichaux

Hi,

Anyone here use a nice open source JavaScript compression tool they
could recommend. Is there a well known standard tool for this? I
imagine a small script written in Ruby or Perl that removes comments,
extra whitespace (new lines where possible), shrinks variable names
etc.

Thanks,
Peter
 
R

Randy Webb

(e-mail address removed) said the following on 4/1/2006 4:47 PM:
Hi,

Anyone here use a nice open source JavaScript compression tool they
could recommend. Is there a well known standard tool for this? I
imagine a small script written in Ruby or Perl that removes comments,
extra whitespace (new lines where possible), shrinks variable names
etc.

http://www.crockford.com/javascript/jsmin.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top