- Implemented a new suffix-trie.ts file for efficient domain suffix lookups. - Introduced a lookupInTrie function to search for public suffixes in a trie. - Added suffixLookup function to check if a hostname has a valid public suffix. - Created package.json and package-lock.json to manage dependencies, including tldts and tldts-core.
11 lines
299 B
TypeScript
11 lines
299 B
TypeScript
export {
|
|
FLAG,
|
|
parseImpl,
|
|
IResult,
|
|
getEmptyResult,
|
|
resetResult,
|
|
} from './src/factory';
|
|
export { IPublicSuffix, ISuffixLookupOptions } from './src/lookup/interface';
|
|
export { default as fastPathLookup } from './src/lookup/fast-path';
|
|
export { IOptions, setDefaults } from './src/options';
|