CSS compressor for James.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

Synopsis

CSS compressor for James.js. Uses node-cssmin.

var james  = require('james'),
    cssmin = require('james-cssmin');

james.task('jade', function() {
    
  james.list('src/**/*.css').forEach(function(file) {
    james.read(file)
      .transform(cssmin)
      .write(process.stdout);
  });
});

API

cssmin(): Returns a new CSS compressor stream. Does not accept any options.