Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/posthtml/htmlnano

Modular HTML minifier, built on top of the PostHTML
https://github.com/posthtml/htmlnano

Last synced: 3 months ago
JSON representation

Modular HTML minifier, built on top of the PostHTML

Awesome Lists containing this project

README

        

# htmlnano
[![npm version](https://badge.fury.io/js/htmlnano.svg)](http://badge.fury.io/js/htmlnano)
![CI](https://github.com/posthtml/htmlnano/actions/workflows/ci.yml/badge.svg)

Modular HTML minifier, built on top of the [PostHTML](https://github.com/posthtml/posthtml). Inspired by [cssnano](http://cssnano.co/).

## [Benchmark](https://github.com/maltsev/html-minifiers-benchmark/blob/master/README.md)
[[email protected]]: https://www.npmjs.com/package/html-minifier-terser
[[email protected]]: https://www.npmjs.com/package/htmlnano

| Website | Source (KB) | [[email protected]] | [[email protected]] |
|---------|------------:|----------------:|-----------:|
| [stackoverflow.blog](https://stackoverflow.blog/) | 90 | 82 | 76 |
| [github.com](https://github.com/) | 232 | 203 | 173 |
| [en.wikipedia.org](https://en.wikipedia.org/wiki/Main_Page) | 81 | 76 | 75 |
| [npmjs.com](https://www.npmjs.com/features) | 43 | 40 | 38 |
| [tc39.es](https://tc39.es/ecma262/) | 6001 | 5465 | 5459 |
| **Avg. minify rate** | 0% | **9%** | **13%** |

## Documentation
https://htmlnano.netlify.app