express-minify-html-2
JSON →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.
Resources
packageexpress-minify-html-3 ↗
API endpoints
full doc /v1/registry/express-minify-html-3