{"library":"html-minifier-terser","type":"library","category":null,"description":"HTMLMinifier-Terser is a highly configurable, well-tested JavaScript-based HTML minifier designed to optimize web page load times by significantly reducing the size of HTML, CSS, and JavaScript within HTML documents. The current stable version is 7.2.0, with regular updates addressing bug fixes, dependency updates, and minor feature enhancements. Major versions, like v7.0.0, introduce significant breaking changes such as the migration to ESM and updated Node.js requirements. It differentiates itself through extensive configurability, allowing fine-grained control over the minification process, and its strong performance compared to other minifiers, often yielding smaller output sizes as demonstrated in its minification comparison benchmarks.","language":"javascript","status":"active","version":"7.2.0","tags":["javascript","cli","compress","compressor","css","html","htmlmin","min"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-minifier-terser","imports":["import { minify } from 'html-minifier-terser';","import { minify } from 'html-minifier-terser';\n// ... later await minify(html, { minifyCSS: { level: 2 } })"]},{"cmd":"yarn add html-minifier-terser","imports":[]},{"cmd":"pnpm add html-minifier-terser","imports":[]}],"homepage":"https://terser.org/html-minifier-terser/","github":"https://github.com/terser/html-minifier-terser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-minifier-terser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html-minifier-terser/compatibility"}}