Free software jsmin in python

Some people in the web programming arena or packaging arena may be aware of the technique called minification for making JavaScript files smaller so that they transfer to client browsers quicker. One of the simpler scripts for minifying JavaScript is known as jsmin.js by Douglas Crockford. Unfortunately, this script is licensed under a non-free software license (the license contains a use restriction in that it “shall be used for Good, not Evil.”.) which has caused a bit of pain to Linux distributions which care about shipping only free software in their repositories.

Just recently, the following tool from Google’s v8 project was pointed out to me: This implementation does not carry the problematic license. Instead it’s under the New BSD license like the rest of v8. This is exciting as there’s now the potential for people to port their projects from the non-free code to this implementation which makes life easier for free software developers.