Skip to content

Interface: DomainOptions

Extended by

Properties

PropertyModifierTypeDescription
allowFullyQualified?readonlybooleanAllows passing fully qualified domain (ends with a period) Default false
allowUnderscore?readonlybooleanDetermines whether underscore (_) characters are allowed. Default false
allowUnicode?readonlybooleanDetermines whether Unicode characters are allowed. Default true
maxDomainSegments?readonlynumberThe maximum number of domain segments (e.g. x.y.z has 3 segments) allowed. Default Infinity
minDomainSegments?readonlynumberThe minimum number of domain segments (e.g. x.y.z has 3 segments) required. Default 2
tlds?readonlyTldsAllow | TldsDenyTop-level-domain options Default true