FullHuman/purgecss
Remove unused CSS observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- 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: 429
- age_days: 3350
- days_rel: 221
- days_push: 13
- n_releases_24m: 2
Adoption not part of the score
8047 stars · 243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PurgeCSS is a tool that removes unused CSS selectors by analyzing content files and matching them against CSS selectors. It ships as a CLI, a programmatic API, and plugins for PostCSS, Webpack, Gulp, Grunt, Gatsby, and Rollup.
Use cases
- remove unused css from my project
- shrink bootstrap css bundle
- purge unused tailwind or framework styles
- optimize css file size for production build
- strip unused selectors from css framework
- integrate css purging into webpack or postcss pipeline
When to choose
- you use a large CSS framework but only a subset of its styles
- you want smaller CSS bundles in a Node.js build pipeline
- you need a PostCSS, Webpack, or Rollup plugin for CSS purging
When to avoid
- your CSS is dynamically generated at runtime with unpredictable class names
- you rely heavily on runtime-computed class names without safelisting
- your project has no build step to run the purge
Facets
library · maturity stable
css-framework build-tool developer-tools web-development frontend web-design developer-tools cross-platform css-optimization unused-css postcss-plugin webpack-plugin rollup-plugin tree-shaking css-frameworks nodejs web-server
4 sources
- readme: https://github.com/FullHuman/purgecss · fetched 2026-08-28 · a104a1a90745
- homepage: https://purgecss.com · fetched 2026-08-29 · 9edef6283136
- site_page: https://purgecss.com/getting-started.html · fetched 2026-08-29 · 67e436cb5951
- registry_npm: https://registry.npmjs.org/purgecss · fetched 2026-08-29 · 367871913333
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FullHuman/purgecss | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="FullHuman/purgecss")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem