Repository URL to install this package:
|
Version:
7.1.2 ▾
|
import { URL } from 'url'
/**
* @param url | string
*/
export function cloneURL(url: URL) {
return new URL(url.href)
}