Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HTML minifier middleware for connect.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

connect-html-minifier

Build Status Dependency Status devDependency Status

HTML minifier middleware for connect.

Install

npm install connect-html-minifier

Usage

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.

License

MIT

Something went wrong with that request. Please try again.