html-minifier-next

JSON →
library 6.2.0 ·javascript
verified May 1, 2026

html-minifier-next v6.2.0 is a super-configurable, JavaScript-based HTML minifier that also handles in-document CSS, JavaScript, and SVG minification. It is the actively maintained successor of the now-unmaintained HTML Minifier Terser and original HTML Minifier by kangax. The library is optimized for speed, offers both CLI and Node.js API, supports preset configurations, and ships TypeScript definitions. It requires @swc/core as a peer dependency for JavaScript minification. Released with monthly cadence, it aims to be backwards-compatible with its predecessors while adding new features like zero-config mode and ignore-dir support.

total hits 15
actors 4 distinct systems
last hit 4d ago AhrefsBot
MetaBot
3
GPTBot
2
Script
1
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇮🇳 India · AO · 🇬🇧 United Kingdom