{"library":"ohiyajul-html-minifier","type":"library","category":null,"description":"A highly configurable, well-tested JavaScript-based HTML minifier. Current stable version is 4.0.0, with a mature release cadence (last release in 2020). It compresses HTML by removing unnecessary whitespace, comments, and attributes, and offers a wide range of options for fine-grained control. Compared to alternatives like minimize or htmlcompressor.com, it consistently achieves better compression ratios across various real-world websites. It supports both Node.js and CLI usage, and has TypeScript type definitions available via @types/html-minifier.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","cli","compress","compressor","css","html","htmlmin","min"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install ohiyajul-html-minifier","imports":["import { minify } from 'html-minifier'","import htmlMinifier from 'html-minifier'","import type { Options } from 'html-minifier'"]},{"cmd":"yarn add ohiyajul-html-minifier","imports":[]},{"cmd":"pnpm add ohiyajul-html-minifier","imports":[]}],"homepage":"https://kangax.github.io/html-minifier/","github":"https://github.com/kangax/html-minifier","docs":null,"changelog":null,"pypi":null,"npm":"ohiyajul-html-minifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}