httpsonly

2.0.0 • Public • Published

httpsonly

Node.js CI

Express middleware that redirects http requests to https.

Also sets Strict Transport Security header, telling browsers to visit by HTTPS for the next year. Also hides the powered by express header.

npm install httpsonly

Usage

var httpsonly = require('httpsonly');
app.use(httpsonly()); //app is the express app

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i httpsonly

Weekly Downloads

170

Version

2.0.0

License

MIT

Unpacked Size

2.55 kB

Total Files

5

Last publish

Collaborators

  • ebdrup
  • hilleer