Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TopLevelDomainOptions

Hierarchy

  • TopLevelDomainOptions

Index

Properties

Properties

Optional allow

0.0.46 provide
allow: boolean | string[] | Set<string>
  • true to use the IANA list of registered TLDs. This is the default value.
  • false to allow any TLD not listed in the deny list, if present.
  • A Set or array of the allowed TLDs. Cannot be used together with deny.

Optional deny

0.0.46 provide
deny: string[] | Set<string>
  • A Set or array of the forbidden TLDs. Cannot be used together with a custom allow list.