Node CSS compressor
This is simply a copy of the
js port of YUI Compressor cssminwraped as a node.js module.
Installation
cd path/to/your/node_modules
git clone git://github.com/fczuardi/node-css-compressor.git
Usage
var cssmin = require(node-css-compressor).cssmin;
var cssString = ".foobar { color : rgb(123, 123, 123); }";
console.log(cssmin(cssString));
License
> cssmin.js
> Author: Stoyan Stefanov - http://phpied.com/
> This is a JavaScript port of the CSS minification tool
> distributed with YUICompressor, itself a port
> of the cssmin utility by Isaac Schlueter - http://foohack.com/
> Permission is hereby granted to use the JavaScript version under the same
> conditions as the YUICompressor (original YUICompressor note below).
>
>
>YUI Compressor
>http://developer.yahoo.com/yui/compressor/
>Author: Julien Lecomte - http://www.julienlecomte.net/
>Copyright (c) 2011 Yahoo! Inc. All rights reserved.
>The copyrights embodied in the content of this file are licensed
>by Yahoo! Inc. under the BSD (revised) open source license.
>