1.1.9 • Published 2 years ago

@bedirhansamsa/whois v1.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

whois

MIT License Downloads Version

Whois lib for domain availability and who is registered data.

Installation

Install with npm

  npm i @bedirhansamsa/whois

Install with yarn

  yarn add @bedirhansamsa/whois

Usage/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: abusecomplaints@markmonitor.com\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 test

Run Locally

Clone the project

  git clone https://github.com/BEDIRHANSAMSA/whois.git

Go to the project directory

  cd whois

Install dependencies

  npm i

Run tests

  npm run test

Features

-

Support

For support, email me@bedirhan.dev

Feedback

If you have any feedback, please reach out to us at me@bedirhan.dev

Authors

License

MIT

1.1.9

2 years ago

1.1.8

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago