StyleStats v4.0.0
var StyleStats = require('stylestats');
var stats = new StyleStats('path/to/stylesheet.css');
// parse function's first argument is error, second argument is result.
stats.parse(function (error, result) {
console.log(JSON.stringify(result, null, 2));
});
- Change promise func
- Update parse function arguments
- Add tests
- Fix cli.js
- Add chalk module
- Replace jade with undescore's template
- Delete underscore.string
- Add error handling
- Release v4.0.0