Minify an HTML fragment
is-html-minifyConservative HTML minification, review results before production. Use to reduce whitespace in a controlled HTML fragment before delivery. For CSS or JavaScript, use is-minify-css or is-minify-js. Transformation tool, not a boolean validator. Returns minified HTML text using a heuristic, not a standards-compliant HTML parser; regression-test output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Original HTML source as text, up to 4096 characters. |