connect-html-minifier

0.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2
  • 0.0.1
    0

Package Sidebar

Install

npm i connect-html-minifier

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • neoziro