Skip to content

Allow private domains #9

Description

@adrukh

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions