Initial commit

This commit is contained in:
Devin Zuczek
2026-06-08 18:23:40 -04:00
commit 8e644a5c20
141 changed files with 21414 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
/** Get hostname from url in lower case */
export function getUrlHostname(url: string | URL): string {
const hostname = typeof url === 'string' ? new URL(url).hostname : url.hostname
return hostname.toLowerCase()
}