Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DomainOptions

Index

Properties

Optional allowUnicode

0.0.46 provide
allowUnicode: boolean

If true, Unicode characters are permitted

default

true

Optional minDomainSegments

0.0.46 provide
minDomainSegments: number

Number of segments required for the domain.

default

2

Optional tlds

0.0.46 provide
tlds: false | TopLevelDomainOptions

Options for TLD (top level domain) validation. By default, the TLD must be a valid name listed on the IANA registry

default

{ allow: true }