Introduction
Modular HTML minifier, built on top of the PostHTML. Inspired by cssnano.
Benchmark
Website | Source (KB) | html-minifier-terser@5.1.1 | htmlnano@2.0.0 |
---|---|---|---|
stackoverflow.blog | 95 | 87 | 82 |
github.com | 210 | 183 | 171 |
en.wikipedia.org | 78 | 72 | 72 |
npmjs.com | 41 | 38 | 36 |
Avg. minify rate | 0% | 9% | 13% |