Commit Graph
17 Commits
Author SHA1 Message Date
jake b3adbf8307 Rename lookupDomain() to lookup() (with backwards compatibility) 2025-10-20 15:05:59 -04:00
jake 5cbefe6a14 Update README.md with clearer usage instructions 2025-10-20 14:48:16 -04:00
jake 08a5b9a576 Make the (very minimal) CLI official 2025-10-12 17:14:37 -04:00
jake db96e8d933 Lazy load node:net for improved edge runtime compatibility 2025-10-12 13:52:50 -04:00
jake 6070d91424 Add toRegistrableDomain function for domain normalization 2025-10-10 10:44:04 -04:00
jake bfcecc5eff Migrate from psl to tldts for public suffix detection 2025-10-10 10:29:29 -04:00
jake 33203b2b47 Remove fetchedAt field from DomainRecord interface and related functions 2025-10-08 21:43:32 -04:00
jake 2c9904e5e8 New privacyEnabled field to detect redaction based on keyword heuristics
Updated the DomainRecord interface to include detailed comments for clarity and added a new privacyEnabled field to indicate if the registrant's information is privacy-redacted. Enhanced normalization functions for both RDAP and WHOIS to derive the privacy flag based on registrant keywords. Updated tests to verify the correct functionality of privacy detection in both normalization processes. Additionally, the README was updated to reflect the inclusion of the privacy flag in the normalized output.
2025-10-08 21:31:21 -04:00
jake f8280508ff Enhance RDAP and WHOIS functionality with referral handling
Added support for following registrar WHOIS referrals with configurable hop limits. Introduced new options in LookupOptions for maximum referral hops and RDAP link handling. Updated README to reflect these changes and improved the lookupDomain function to utilize the new referral logic. Added utility functions for merging RDAP documents and extracting related links.
2025-10-08 19:25:51 -04:00
jake 174cae8610 Update testing framework to Vitest (#4) 2025-09-26 11:49:44 -04:00
jake e873fb7629 Add link to hoot.sh in README
Updated README to include a link to hoot.sh
2025-09-24 21:29:45 -04:00
jake dc0ff2a00b Refine README examples and API documentation: simplify usage of lookupDomain function and clarify fallback behavior for RDAP and WHOIS. 2025-09-24 19:30:22 -04:00
jake fda6d09096 Add includeRaw option to CLI and API: enable inclusion of raw RDAP/WHOIS data in results 2025-09-24 19:24:57 -04:00
jake 05445ef831 Update repository guidelines and README: enhance project structure documentation, clarify build and test commands, and improve API usage examples for better user understanding. 2025-09-24 19:19:41 -04:00
jake 0a852ff3cd Add CLI script for domain lookup and create package-lock.json; update README and package.json for clarity and dependencies 2025-09-24 17:28:12 -04:00
jake 33a648460b Core functionality for domain lookup using RDAP and WHOIS protocols, along with utility functions and tests. 2025-09-24 14:28:09 -04:00
jake bd4846302d Initial commit 2025-09-24 13:06:40 -04:00