# connect-html-minifier
**Repository Path**: mirrors_gregberge/connect-html-minifier
## Basic Information
- **Project Name**: connect-html-minifier
- **Description**: HTML minifier middleware for connect.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-24
- **Last Updated**: 2026-10-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# connect-html-minifier
# This plugin is no longer actively maintained, you can still use it but issues will not be resolved. If you want the npm name, you can contact me by email.
[](https://travis-ci.org/neoziro/connect-html-minifier)
[](https://david-dm.org/neoziro/connect-html-minifier)
[](https://david-dm.org/neoziro/connect-html-minifier#info=devDependencies)
HTML minifier middleware for connect.
## Install
````
npm install connect-html-minifier
````
## Usage
````javascript
var connect = require('connect'),
htmlMinifier = require('connect-html-minifier');
connect()
.use(htmlMinifier({removeComments: true})
.listen(8080);
````
### Options
Options allowed are the same as options allowed in [kangax/html-minifier](https://github.com/kangax/html-minifier/).
## License
MIT