A stylesheet analysis tool for predicting UI jank.
There are three common types of rendering update that cause UI jank on the web, so having visibility on how often they occur in your styles can give you some insight on potential causes of jank you need to keep on top of.
npm install -g buff-cli
buff-cli "path/to/file.css"
That's it. 😎
WIP.
- Write some tests
- Add support for analysing a stylesheet URL by URL
- Add support for analysing multiple stylesheets in a row
- Add support for passing a stylesheet as a string
- Output results in a cross-compatible manner, most likely JSON