Ross ROSS = Recommend OSS · open-source software intelligence for agents

leeoniya/dropcss

An exceptionally fast, thorough and tiny unused-CSS cleaner observed · 2026-08-28

github.com/leeoniya/dropcss · HTML · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
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: 2723
  • days_rel: n/a
  • days_push: 1105
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2127 stars · 64 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

DropCSS is a tiny (~10 KB), exceptionally fast Node.js library that removes unused CSS by taking HTML and CSS as input and returning only the selectors actually used in the markup. It uses custom optimized HTML and CSS parsers and offers a shouldDrop hook for whitelisting selectors.

Use cases

  • remove unused css from a project
  • purge css selectors not present in html
  • clean up bloated stylesheets before deployment
  • reduce css file size for faster page loads
  • keep only css used by my markup
  • inline critical css for a static page

When to choose

  • you have well-formed HTML and CSS and want a fast, minimal purge tool
  • you need fine-grained control over which selectors are dropped via a whitelist hook
  • you want a tiny dependency with no heavy build pipeline

When to avoid

  • your HTML or CSS is malformed or relies on implied tags like html/head/body/tbody
  • you need full CSS spec compliance including complex escaping rules
  • you want selector regrouping and rule merging - pair it with clean-css, csso, or cssnano instead

Facets

library · maturity maintenance

css-framework parser developer-tools web-development frontend performance cli browser css-purge unused-css css-optimizer minification nodejs

1 source

Member repositories

RepositoryRoleHealth v2
leeoniya/dropcssmain23

For agents

markdown · JSON · MCP: product_card(name="leeoniya/dropcss")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem