express-html-minifier-terser
JSON →Express middleware that wraps html-minifier-terser to minify HTML responses. Version 2.0.0 requires Node >=18 and Express 4+. It overrides res.render to automatically minify output, or adds res.renderMin for explicit control. Supports exception URLs via strings, regexes, or functions. All html-minifier-terser options are available. Maintained, with a simple API for integrating HTML minification into Express apps. Alternatives include express-minify-html or manual minification in views.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada