Optional
encodingThe encoding type used for WhoIs server and response. By default UTF-8 is used.
Optional
parseWhich data needs to be extracted/parsed from the WhoIs response. An object can be passed which contains keys of the fields of the WhoIs response. A copy of the provided object will be returned with the values filled for the provided keys.
The keys can have default value of empty string. However, if the WhoIs response has multiple values for the same field (eg: 'Domain Status'), then all the values can be collected by providing a default value of an Array([]).
Following example shows an object used to collect 'Domain Name', 'Domain Status' (multiple values) and 'Registrar' from WhoIs response
{'Domain Name': '', 'Domain Status': [], 'Registrar': ''}
Optional
proxyOptional
serverThe WhoIs server to collect data from. If not provided, the server will automatically determined using the tld
Optional
serverThe port of the WhoIs server. By default, port 43 is used.
Optional
tldTLD of the domain. If the tld is not provided (or null), then it will be automatically determined as to the given domain name
Generated using TypeDoc
WhoIs options