Skip to content

violetnorth/whois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whois

Whois lookup for any domain.

Install


Install with npm:

$ npm install --save @violetnorth/whois

Usage

const whois = require("@violetnorth/whois");

const whoisData = await whois.lookup("violetnorth.com", {timeout: 30000});
// {
//   'domain name': 'violetnorth.com',
//   'registry domain id': '2396951823_domain_com-vrsn',
//   'registrar whois server': 'whois.google.com',
//   'registrar url': 'http://domains.google.com',
//   'updated date': 1590792811000,
//   'creation date': 1559250753000,
//    ...
// }

License


Released under the MIT License.