Skip to content
/ buff Public

CLI tool for identifying properties in your stylesheets that cause re-layouts, repaints, or re-composites

Notifications You must be signed in to change notification settings

doot0/buff

Repository files navigation

npm Code Climate

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.

Contents

Usage

  1. npm install -g buff-cli
  2. buff-cli "path/to/file.css"

That's it. 😎

Why?

WIP.

Planned features / todos

  • 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

About

CLI tool for identifying properties in your stylesheets that cause re-layouts, repaints, or re-composites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published