purifycss/purifycss
Remove unused CSS. Also works with single-page apps. 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4117
- days_rel: n/a
- days_push: 2146
- n_releases_24m: 0
Adoption not part of the score
9850 stars · 379 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PurifyCSS is a JavaScript library and CLI that statically analyzes content (HTML, JS, PHP, etc.) to detect which CSS selectors are actually used, then outputs only the used CSS. It works with CSS frameworks and single-page apps, and integrates with Grunt, Gulp, and Webpack.
Use cases
- remove unused css from my project
- purge unused bootstrap styles
- reduce css bundle size
- clean up css for a single-page app
- find which css selectors are unused
- minify and purify css at build time
When to choose
- you use a large CSS framework like Bootstrap and only need a fraction of its selectors
- you want a standalone library, CLI, or build-tool plugin to strip unused CSS
- your app dynamically constructs class names in JavaScript
When to avoid
- you need a tool with active development and modern ecosystem support (last release 2020)
- you use modern bundler-native solutions like PurgeCSS or Tailwind's built-in purging
- your CSS classes are generated entirely at runtime with no static trace
Facets
library · maturity maintenance
css-framework build-tool cli web-development frontend developer-tools cli cross-platform css-optimization unused-css purgecss static-analysis single-page-apps nodejs
2 sources
- readme: https://github.com/purifycss/purifycss · fetched 2026-08-28 · 9fa3dc05a0f6
- registry_npm: https://registry.npmjs.org/purifycss · fetched 2026-08-29 · afdd1444100d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| purifycss/purifycss | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="purifycss/purifycss")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem