Neverending Pile of Messages

    to-https

    1.1.0 • Public • Published

    to-https Build Status codecov

    Convert (almost) any url to https.

    Install

    $ npm install to-https
    

    Usage

    const toHttps = require('to-https');
     
    toHttps('http://www.chrisvogt.me');
    //=> 'https://www.chrisvogt.me'
     
    toHttps('//my.cdn.com/image.png');
    //=> 'https://my.cdn.com/image.png'
     
    toHttps('127.0.0.1');
    //=> 'https://127.0.0.1'

    API

    toHttps(input)

    input

    Type: string

    The url or address to convert to HTTPS.

    License

    MIT © Chris Vogt

    Install

    npm i to-https

    DownloadsWeekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    3.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • chrisvogt