Package detail

lesca-http2https

jameshsu112552MIT1.2.0

redirect url to SSL

lesca, 衝康吉, jameshsu1125, SSL

readme

React React React React React NPM React NPM

Why use it?

redirect url to SSL.

Live Demo

Installation

npm install lesca-http2https --save

Usage

As a Node module:

import { toHttps } from 'lesca-http2https';
toHttps(); // http://www.exsamle.com => https://www.exsamle.com

Development

Methods

method description return
.toHttps() redirect url to SSL void
.toHttp() redirect url to not SSL void

Features

  • maintain if necessary