To use StyleStats, just point it to a CSS file and it will tell you various stats about it, ideal for debugging and improving overall CSS policies.
StyleStats can work with manually entered CSS code, it can retrieve all the CSS loaded on a specific URL, or it can parse and analyze local or remote stylesheets directly.
Under the hood, this tool works by parsing the CSS code line by line, and collecting various parameters, storing them into a local JSON. When all the CSS file has been parsed, the JSON is dumped into the Node.js console.
Additionally, for historical referencing, the StyleStats output can also be saved to a GitHub Gist or an external file. JSON, CSV and HTML formats are currently supported.
Modules for Gulp.js and Grunt.js are also available.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |