express-html-minify
JSON →An Express.js middleware that automatically minifies HTML responses using html-minifier. This package intercepts HTML responses and reduces file size by removing whitespace, comments, and other unnecessary characters. Version 1.0.4 is the latest stable release. It has low release cadence and minimal dependencies, but its approach (intercepting res.end) can conflict with other middleware or streaming responses. Unlike other minifiers, it does not require manual wrapping of res.send or res.render.
Resources
packageexpress-html-minify ↗
API endpoints
full doc /v1/registry/express-html-minify