Node.js module to minify HTML, CSS, and JS embedded in markup. Stable version is 0.3.2 (last released 2013-07-08), with no further updates. Uses cssmin for CSS and html-minifier for HTML. Primarily a CLI tool; API supports a single function with limited options. Not recommended for new projects; consider html-minifier-terser or minify instead.
npm install html-minifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Read an HTML file, minify it, and write the result to a new file.
Migrate to active packages like html-minifier or minify.
Use html-minifier for configurable options.
Use 'npm install -g html-minify' or 'npm i -g html-minify'.
Run 'npm install html-minify' and use require() in CommonJS.
Use const htmlminify = require('html-minify');No dependency data recorded yet.