{"library":"koa-html-minifier2","type":"library","category":null,"description":"Koa 2.x middleware that minifies HTML responses using html-minifier. Version 1.0.7 is the latest stable release; development appears maintenance-mode with no recent updates. It is a straightforward port of the original koajs/html-minifier for Koa 2.x. Key differentiator: lightweight, no extra configuration beyond html-minifier options. However, all html-minifier defaults are off, so you must explicitly enable minification features.","language":"javascript","status":"maintenance","version":"1.0.7","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install koa-html-minifier2","imports":["const htmlMinifier2 = require('koa-html-minifier2')","app.use(htmlMinifier2({ collapseWhitespace: true }))","htmlMinifier2({ minifyCSS: true, minifyJS: true })"]},{"cmd":"yarn add koa-html-minifier2","imports":[]},{"cmd":"pnpm add koa-html-minifier2","imports":[]}],"homepage":"https://github.com/zhuweiyou/koa-html-minifier2#readme","github":"https://github.com/zhuweiyou/koa-html-minifier2","docs":null,"changelog":null,"pypi":null,"npm":"koa-html-minifier2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}