Interface DomainNameValidator
Properties
supportedTLDs
supportedTLDs: string[]
Methods
addSupportedTld
-
Parameters
Returns void
isClaimableTld
- isClaimableTld(tld: string): boolean
-
Parameters
Returns boolean
isValidWithKnownTld
-
Parameters
removeSupportedTld
- removeSupportedTld(tld: string): void
-
Parameters
Returns void
validateDomainName
-
Parameters
-
name: string
-
Optional options: undefined | { minLevel: number }
An interface that defines functions for validating domain names.