kangax/html-minifier
Javascript-based HTML compressor/minifier (with Node.js support) observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 74
- 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: 6053
- days_rel: n/a
- days_push: 160
- n_releases_24m: 0
Adoption not part of the score
5037 stars · 577 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A highly configurable, well-tested JavaScript-based HTML minifier with Node.js and CLI support, capable of also minifying inline CSS and JavaScript. It is now deprecated and unmaintained; users should switch to HTML Minifier Next.
Use cases
- minify html files for production
- compress html in a node build pipeline
- reduce page weight by stripping comments and whitespace
- minify inline css and js inside html
- run html minification from the command line
When to choose
- you need a battle-tested, highly configurable HTML minifier for Node.js or CLI
- you want to minify embedded CSS and JS along with HTML
- you're maintaining a legacy build pipeline already using html-minifier
When to avoid
- starting a new project - use HTML Minifier Next instead
- you need security fixes or ongoing maintenance
- you need minification of non-HTML assets only
Facets
library · maturity abandoned
parser compression cli developer-tools web-development frontend developer-tools performance cli cross-platform html-minifier minification deprecated build-pipeline nodejs
3 sources
- readme: https://github.com/kangax/html-minifier · fetched 2026-08-28 · 8232814bd58d
- homepage: http://kangax.github.io/html-minifier/ · fetched 2026-08-29 · afa58d7718ae
- registry_npm: https://registry.npmjs.org/html-minifier · fetched 2026-08-29 · 67b16c24c7a5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kangax/html-minifier | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="kangax/html-minifier")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem