greg 4d1d2f8c52
Some checks failed
continuous-integration/drone Build is failing
maj
2023-06-11 20:17:11 +02:00
..
maj
2023-06-11 20:17:11 +02:00
maj
2023-06-11 20:17:11 +02:00
maj
2023-06-11 20:17:11 +02:00
maj
2023-06-11 20:17:11 +02:00
maj
2023-06-11 20:17:11 +02:00
maj
2023-06-11 20:17:11 +02:00

htmlnano

npm version CI

Modular HTML minifier, built on top of the PostHTML. Inspired by cssnano.

To switch to the optional fork of uncss, apply uncss-fork.patch.

Reasons you may want to do this are: uncss uses outdated dependencies with security issues

Reasons you may want to avoid this are: long term support, stability

Benchmark

Website Source (KB) html-minifier-terser@5.1.1 htmlnano@1.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%

Documentation

https://htmlnano.netlify.app