CSS minifier
Because CSS is on the critical path to rendering pages. It must be small! Or else!
$ npm install cssshrink
var cssshrink = require('cssshrink');
var css =
'a{color: #ff0000;}';
css = cssshrink.shrink(css);Result:
a{color:red}
Available at http://cssshrink.com
Slides at http://cssshrink.com/velocity