feat: add suffix lookup functionality with trie structure
- 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.
This commit is contained in:
1
node_modules/tldts/dist/es6/tsconfig.bundle.tsbuildinfo
generated
vendored
Normal file
1
node_modules/tldts/dist/es6/tsconfig.bundle.tsbuildinfo
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user