8000 GitHub - stevenvachon/cloneurl: Clone a WHATWG URL instance.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 28, 2021. It is now read-only.

stevenvachon/cloneurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloneurl NPM Version Build Status Dependency Monitor

Clone a WHATWG URL instance.

This module's browser version contains no URL shim.

Installation

Node.js >= 6 is required. To install, type this at the command line:

npm install cloneurl

Usage

const cloneURL = <
5AB6
span class="pl-en">require('cloneurl');

const b = cloneURL(a);

console.log(b === a);
//-> false

console.log(b.href === a.href);
//-> true

About

Clone a WHATWG URL instance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0