cssnano/cssnano
A modular CSS minifier, built on top of the PostCSS ecosystem. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- 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: 7.0
- age_days: 4159
- days_rel: 7
- days_push: 7
- n_releases_24m: 23
Adoption not part of the score
4975 stars · 327 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
cssnano is a modular CSS minifier built on the PostCSS ecosystem, using 30+ focused plugins to compress and optimize CSS for production. It offers safe default and advanced presets, with Browserslist-aware output tailored to supported browsers.
Use cases
- minify css for production builds
- reduce css file size in webpack or vite
- compress colors and remove duplicate css rules
- optimize css based on browser support targets
- integrate css minification into a postcss pipeline
When to choose
- you already use PostCSS and want drop-in CSS compression
- you need configurable minification with safe and aggressive presets
- you want browser-targeted CSS optimization via Browserslist
When to avoid
- you need a full CSS preprocessor or postprocessor with new features
- your build pipeline does not use JavaScript/Node.js tooling
- you only need whitespace stripping from a simple shell script
Facets
library · maturity active
build-tool developer-tools web-development frontend performance cli css-minifier postcss css-optimization browserslist production-build nodejs
2 sources
- readme: https://github.com/cssnano/cssnano · fetched 2026-08-28 · ab8de7717189
- homepage: https://cssnano.github.io/cssnano/ · fetched 2026-08-29 · c59be8064aba
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cssnano/cssnano | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem