Command-line interface for html-minifier (version 0.1.0), a tool that minifies HTML files to reduce size. Provides a CLI wrapper around the html-minifier library, offering options to customize minification behavior. Supports output file specification and usage help. Lightweight wrapper with no active updates since 2018; useful for simple minification tasks but lacks advanced features like streaming or bundle integration.
npm install html-minifier-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the CLI tool globally and minifies an HTML file, showing output and help commands.
Consider alternatives like html-minifier-terser, html-minifier-watch, or using html-minifier programmatically.
Install globally with npm install -g html-minifier-cli, then run htmlmin.
Use child_process to invoke the binary, or switch to the html-minifier package for a JavaScript API.
Run npm install -g html-minifier-cli to install globally.
Check npm global bin path (npm bin -g) and add to PATH, or reinstall with npm install -g html-minifier-cli.
Use child_process to invoke the CLI or import the html-minifier package directly.