Skip to content

StyleStats v4.0.0

Choose a tag to compare

@t32k t32k released this 08 Apr 15:26
· 292 commits to master since this release
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