New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

https-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

https-enforcer

Express middleware to enforce HTTPS connections on non local requests.

1.0.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

https-enforcer

Express middleware to enforce HTTPS connections on non local requests.

Install

npm install --save https-enforcer

Usage

const express = require('express')
const httpsEnforcer = require('https-enforcer')

const app = express()
app.use(httpsEnforcer)

Notes

If you're making a request against localhost or any private IP it won't redirect to HTTPs.

Keywords

https

FAQs

Package last updated on 29 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts