josh/css-explain
SQL EXPLAIN for CSS selectors observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5249
- days_rel: n/a
- days_push: 4057
- n_releases_24m: 0
Adoption not part of the score
1068 stars · 40 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that analyzes CSS selectors the way SQL EXPLAIN analyzes queries, computing specificity, category, and an efficiency score. It models WebKit's rule-set indexing optimizations to explain selector performance.
Use cases
- analyze css selector performance
- compute css selector specificity
- explain why a css selector is slow
- audit stylesheets for inefficient selectors
- learn how browsers index css rules
When to choose
- you want to score or debug CSS selector efficiency in JavaScript
- you need programmatic specificity and category analysis of selectors
When to avoid
- you need actively maintained tooling for modern CSS selectors
- you want full stylesheet linting rather than single-selector analysis
Facets
library · maturity abandoned
parser developer-tools web-development frontend developer-tools browser css-selectors specificity performance-analysis explain-tool nodejs javascript
2 sources
- readme: https://github.com/josh/css-explain · fetched 2026-08-28 · db4d28a1ef2b
- homepage: http://josh.github.io/css-explain/ · fetched 2026-08-29 · f86b0a60cd7c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| josh/css-explain | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="josh/css-explain")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem