node package manager

html-minifier-cli

html-minifier-cli

Command-line interface for html-minifier

Install

npm install html-minifier-cli -g

Usage

htmlmin -o index.min.html index.html

See htmlmin -h for more usage.