Update getDomainParts to allow passing options to tldts.parse().

This commit is contained in:
2025-10-17 22:04:37 -04:00
parent 0cfca2c877
commit b171b5ec75
4 changed files with 105 additions and 74 deletions
+6 -1
View File
@@ -118,5 +118,10 @@ export async function isRegistered(
return res.record.isRegistered === true;
}
export { toRegistrableDomain } from "./lib/domain";
export {
getDomainParts,
getDomainTld,
isLikelyDomain,
toRegistrableDomain,
} from "./lib/domain";
export type * from "./types";