{"library":"koa-html-minifier","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","koa","html","css","htmlmin","min","compress","minification","minifier"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install koa-html-minifier","imports":["import minify from 'koa-html-minifier'","const minify = require('koa-html-minifier')","import minify from 'koa-html-minifier'; const middleware = minify({ collapseWhitespace: true })"]},{"cmd":"yarn add koa-html-minifier","imports":[]},{"cmd":"pnpm add koa-html-minifier","imports":[]}],"homepage":"https://github.com/koajs/html-minifier","github":"https://github.com/koajs/html-minifier","docs":null,"changelog":null,"pypi":null,"npm":"koa-html-minifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}