Whois lookup for any domain.
Install with npm:
$ npm install --save @violetnorth/whois
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,
// ...
// }
Released under the MIT License.