Skip to content

paceaux/css-complexity

Repository files navigation

CSS Complexity Analyzer

Based on the article Cyclomatic Complexity in CSS, this is a tool that calculates the complexity of rulesets and stylesheets.

Pre-requisites

  • Node 18+
  • NPM 9+

Installation

npm install

Usage

TBD.

This will probably be developed to work both as a CLI and possibly to integrate into something like postcss & friends. Step 1 is to make this a CLI, though.

Contributing

As of right now the source files are being developed. Make sure any classes in src have corresponding tests in test.

Yeah see the contributing doc. This could use smart people.

About

A tool for analyzing CSS complexity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published