express-minify-html-2

JSON →
library 1.2.0 ·javascript maintenance
verified Jun 4, 2026

Express middleware that wraps html-minifier-with-remove-custom-attrs to minify HTML responses. Version 1.2.0 is the latest stable release. This is a fork of the original express-minify-html package intended to keep the project alive. It enhances the res.render method (or adds res.renderMin) to automatically minify HTML output. Compared to alternatives like express-minify or express-html-minifier, this package specifically uses html-minifier-with-remove-custom-attrs for compatibility. Release cadence is low, with no recent updates.