@bedirhansamsa/whois
v1.1.9
Published
Whois lib for domain availability and who is registered data.
Downloads
14
Readme
whois
Whois lib for domain availability and who is registered data.
Installation
Install with npm
npm i @bedirhansamsa/whoisInstall with yarn
yarn add @bedirhansamsa/whoisUsage/Examples
Code:
const whois = require('@bedirhansamsa/whois');
(async () => {
const result = await whois('google.com');
console.log(result);
})();Output:
{
available: false,
data: ' Domain Name: GOOGLE.COM\r\n' +
' Registry Domain ID: 2138514_DOMAIN_COM-VRSN\r\n' +
' Registrar WHOIS Server: whois.markmonitor.com\r\n' +
' Registrar URL: http://www.markmonitor.com\r\n' +
' Updated Date: 2019-09-09T15:39:04Z\r\n' +
' Creation Date: 1997-09-15T04:00:00Z\r\n' +
' Registry Expiry Date: 2028-09-14T04:00:00Z\r\n' +
' Registrar: MarkMonitor Inc.\r\n' +
' Registrar IANA ID: 292\r\n' +
' Registrar Abuse Contact Email: [email protected]\r\n' +
' Registrar Abuse Contact Phone: +1.2083895740\r\n' +
' Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\r\n' +
' Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\r\n' +
' Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\r\n' +
' Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\r\n' +
' Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\r\n' +
' Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\r\n' +
' Name Server: NS1.GOOGLE.COM\r\n' +
' Name Server: NS2.GOOGLE.COM\r\n' +
' Name Server: NS3.GOOGLE.COM\r\n' +
' Name Server: NS4.GOOGLE.COM\r\n' +
' DNSSEC: unsigned\r\n'....
}Running Tests
To run tests, run the following command
npm run testRun Locally
Clone the project
git clone https://github.com/BEDIRHANSAMSA/whois.gitGo to the project directory
cd whoisInstall dependencies
npm iRun tests
npm run testFeatures
Support
For support, email [email protected]
Feedback
If you have any feedback, please reach out to us at [email protected]
