See corresponding blog post for all the gory details of how it works, description of each option, testing results and conclusions.
Also see corresponding Ruby wrapper, and for Node.js, Grunt plugin, Gulp module, Koa middleware wrapper and Express middleware wrapper.
For lint-like capabilities take a look at HTMLLint.
HTMLMinifier alternatives and similar modules
Based on the "Minifiers" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of HTMLMinifier or a related project?