Skip to content

Interface: TopLevelDomainOptions

Properties

PropertyTypeDescription
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.
deny?string[] | Set<string>- A Set or array of the forbidden TLDs. Cannot be used together with a custom allow list.