New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

js-force-https-redirect

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-force-https-redirect

If the webpage is loaded using http, it is redirected using https. This should be done on the server side but in some case it is not possible.

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

js-force-https-redirect

If the webpage is loaded using http, it is redirected using https. This should be done on the server side but in some case it is not possible.

Use this only if you don't have access to the configuration of you web server!

How to: nodejs

npm install js-force-https-redirect then just add require('js-force-https-redirect') and that should work.

How to: browserify

after cloning this repo: browserify index.js > js-force-https-redirect.js

and then in you webpage:

Keywords

js

FAQs

Package last updated on 08 Aug 2018

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