sparkast/lib/url/tldList.ts
alikia2x 44c216c81b fix: unable to properly segment raw TLD data
feat: searchbox's value changes while selecting suggestion
2024-10-13 19:07:49 +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] !== "#");
}