Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript

This branch is 1 commit ahead, 210 commits behind yui:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE.TXT
README.md
index.js
package.json

README.md

Node CSS compressor

This is simply a copy of the js port of YUI Compressor cssmin wraped 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.

Something went wrong with that request. Please try again.