james-cssmin
v0.1.0
Published
CSS compressor for [James.js](https://github.com/leonidas/james.js). Uses [node-cssmin](https://github.com/jbleuzen/node-cssmin).
Downloads
4
Readme
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.