get-url-versions

1.0.1 • Public • Published

get-url-versions

Get different versions of a url

Install

$ npm install get-url-versions

Usage

const _guv = require('get-url-versions');

var urls = _guv.getURLs('www.google.com');

console.log(urls);

Output:

{
    url: "google.com",
    www: "www.google.com",
    http: "http://google.com",
    https: "https://google.com",
    http_www: "http://www.google.com",
    https_www: "https://www.google.com"
}

Dependents (1)

Package Sidebar

Install

npm i get-url-versions

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.88 kB

Total Files

4

Last publish

Collaborators

  • christianackman