Koa HTML Minifier
JSON →Koa middleware that minifies HTML responses using html-minifier-terser. Version 3.0.0 is the current stable release (last updated 2021). It wraps html-minifier-terser's default options (all off), so minification only occurs if explicitly configured. Unlike other HTML minifiers for Koa (e.g., koa-html-minify), this one uses the actively maintained terser fork with better ES6+ support. Requires Node >= 12 and works with Koa 2.
API endpoints
full doc /v1/registry/koa-html-minifier