{"library":"express-html-minifier-terser","type":"library","category":null,"description":"Express middleware that wraps html-minifier-terser to minify HTML responses. Version 2.0.0 requires Node >=18 and Express 4+. It overrides res.render to automatically minify output, or adds res.renderMin for explicit control. Supports exception URLs via strings, regexes, or functions. All html-minifier-terser options are available. Maintained, with a simple API for integrating HTML minification into Express apps. Alternatives include express-minify-html or manual minification in views.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","express","html","minifier","middleware","minify"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install express-html-minifier-terser","imports":["import HTMLMinifier from 'express-html-minifier-terser'"]},{"cmd":"yarn add express-html-minifier-terser","imports":[]},{"cmd":"pnpm add express-html-minifier-terser","imports":[]}],"homepage":"https://github.com/relisiuol/express-html-minifier-terser#readme","github":"https://github.com/relisiuol/express-html-minifier-terser","docs":null,"changelog":null,"pypi":null,"npm":"express-html-minifier-terser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}