Right now, toRegistrableDomain() uses ICANN-only parsing:
toRegistrableDomain('username.github.io') // returns 'github.io', expected 'username.github.io'
Would you be open to support private registrable domains, i.e. exposing tldts's allowPrivateDomains option?
My workaround for now is to rely on tldts for domain parsing, and rdapper only for the lookup. Would love to save the duplication :)
Right now,
toRegistrableDomain()uses ICANN-only parsing:Would you be open to support private registrable domains, i.e. exposing
tldts'sallowPrivateDomainsoption?My workaround for now is to rely on
tldtsfor domain parsing, andrdapperonly for the lookup. Would love to save the duplication :)