sparkast/lib/url/tldList.ts
alikia2x f7de462a28
fix: unable to properly segment raw TLD data
feat: searchbox's value changes while selecting suggestion
2025-01-20 03:03:28 +08:00

6 lines
131 B
TypeScript

import TLDtxt from "./tlds.txt?raw";
export function getTLD() {
return TLDtxt.split("\r\n").filter((line) => line[0] !== "#");
}