lesca-http2https
v1.2.0
Published
redirect url to SSL
Downloads
19
Maintainers
Readme
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