node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

james-cssmin

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.