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

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top