Skip to content

xvea/whoisme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Whois Client for NodeJS

This is a simple whois library to fetch whois information of any domain name. All TLDs are supported, the module can find the whois server of any TLD by querying IANA.

How to install?

You can install the module with npm i whoisme command.

Example code

const whoisme = require('whoisme');

(async() => {
  let domain = 'google.com';
  let whoisData = await whoisme.getWhois(domain, config);
  console.log(whoisData);
})();

How does it find the whois server?

The library keeps used whois servers in cache. But if it's not used before, it sends a request to IANA Root DB to find the whois server.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published