Stylecow core
Fast and furious css framework. For node >= v4.0
Simple usage example:
var stylecow = require('stylecow-core');
var tasks = (new stylecow.Tasks())
.minSupport({
explorer: 9,
firefox: 30,
chrome: 30,
safari: 6,
ios: 6,
opera: 12
})
.use(require('stylecow-plugin-prefixes'))
.use(require('stylecow-plugin-nested-rules'))
.use(require('stylecow-plugin-color'));
var coder = new stylecow.Coder('minify');
var css = stylecow.parseFile('styles.css');
tasks.run(css);
var code = coder.run(css);