UNPKG

parse-domain

Version:

Splits a hostname into subdomains, domain and (effective) top-level domains

4 lines 221 B
import type { Label } from "../parse-domain.js"; import type { TrieNode } from "./nodes.js"; export declare const lookUpTldsInTrie: (labels: Array<Label>, trie: TrieNode) => string[]; //# sourceMappingURL=look-up.d.ts.map