0.1.0 • Published 10 years ago
connect-html-minifier v0.1.0
connect-html-minifier
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