In need of a simple JS/CSS comment and white space stripper, I found not one useable tool. So, as usual, I wrote my own to strip and pack all CSS/JS into convenient archives. Not only does it reduce page load time and thus improve the user experience, it reduces traffic payload and the number of requests - a small step towards more sustainability for web pages.
If there are no file names given in -js or -css mode, stdin is used as input.
I use a make target in my projects to create minified and precompressed versions of the JS/CSS files: