tinyhtml
JSON →Tinyhtml is a compact, reliable, and customizable HTML minifier for Node.js. The current stable version is 0.0.72, released on npm. It focuses on removing unnecessary whitespace, collapsing attribute values, and optionally parsing script/style tags with custom parsers. Unlike other minifiers, it provides fine-grained control over tag content via parsers and allows preserving specific whitespace patterns. It is actively maintained, with a simple API and no dependencies. Suitable for build pipelines and server-side HTML compression.
Resources
packagetinyhtml ↗