This package has been deprecated

    Author message:

    use

    cloneurl

    2.0.0 • Public • Published

    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(=== a);
    //-> false
     
    console.log(b.href === a.href);
    //-> true

    Keywords

    Install

    npm i cloneurl

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.25 kB

    Total Files

    5

    Last publish

    Collaborators

    • stevenvachon