Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.
/ cloneurl Public archive

Clone a WHATWG URL instance.

License

Notifications You must be signed in to change notification settings

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 = 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