minimize
JSON →A fast and stable HTML minifier based on htmlparser2, focused on HTML5 output. Version 2.2.0 is the latest stable release. It offers highly configurable options for removing empty attributes, comments, conditional comments, quotes, CDATA sections, SSI, and spare attributes. It features a pluggable interface and a CLI. Unlike other minifiers like html-minifier, it strictly targets valid HTML output and does not handle inline PHP or template syntax. The library is designed for server-side use only (browser support not yet available).
Resources
packageminimize ↗