UNPKG

parse-domain

Version:

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

4 lines (3 loc) 174 B
import { TrieNode } from "./nodes.js"; import { Label } from "../parse-domain.js"; export declare const lookUpTldsInTrie: (labels: Array<Label>, trie: TrieNode) => string[];