Monday, June 27th, 2005

Jazmin and JavaScript Minifier

Category: Utility

<>p>A blast from the past here. A lot of people are not aware of Douglas Crawford’s JavaScript Minifier which does what it says on the box:

JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation.

Think,

jsmin yourjsfile.js condensed.js

There has been a more recent port to C#, called Jazmin.

Posted by Dion Almaer at 11:13 am
2 Comments

++++-
4.1 rating from 8 votes

2 Comments »

Comments feed

hi dion,

Thanks. was looking for something like this for a while now.

Is there something similar to ProGuard( Java class file shrinker and obfuscator) in javascript that is plug and play(commercial/otherwise). I’m thinking that we can reduce the size of javascript objects by decent obfuscation ?

BR,
~A

Comment by Anjan Bacchu — June 27, 2005

A simple online javascript minifier/obfuscator can be found at
http://netspurt.com

This is based on dojo’s shrinksafe

Comment by magnoli8575 — December 24, 2008

Leave a comment

You must be logged in to post a comment.