gulp-html-minimizer
JSON →Gulp plugin (v2.0.1, stable) that minifies HTML using the actively maintained HTMLMinifier fork (html-minifier-terser). It wraps HTMLMinifier's full option set — including collapseWhitespace, minifyCSS, minifyJS, and custom attribute handling — into a streaming Gulp pipeline. Differentiates from alternatives like gulp-htmlmin by using the terser-based fork (active maintenance, no known CVEs). Lightweight; zero runtime peer deps beyond Gulp itself.
Resources
packagegulp-html-minimizer ↗
API endpoints
full doc /v1/registry/gulp-html-minimizer