silverwolf-x's picture
download
raw
196 Bytes
export function createHrefFromUrl(
url: Pick<URL, 'pathname' | 'search' | 'hash'>,
includeHash: boolean = true
): string {
return url.pathname + url.search + (includeHash ? url.hash : '')
}

Xet Storage Details

Size:
196 Bytes
·
Xet hash:
7ed2612d0243bc785fbd00f2358e07116bbd3e062fcf86bd947b560f38c53210

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.