Skip to content

gregberge/connect-html-minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

About

HTML minifier middleware for connect.

Resources

License

Stars

Watchers

Forks

Packages

No packages published