Skip to content

A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.

License

Notifications You must be signed in to change notification settings

joshterrill/freewhois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freewhois

A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.

TLD List comes from: https://data.iana.org/rdap/dns.json

To see the status of all RDAP TLD's: https://deployment.rdap.org/

TLD's last updated on 09/25/2024

Usage in code

  1. Install via npm i freewhois --save

  2. Code example:

const whois = require("freewhois");

async function whoisLookup() {
    const data = await whois("https://www.google.com");
    console.log(data); // returns as json
}

Usage in CLI

  1. Install via npm i freewhois -g

  2. CLI command:

$ freewhois "https://www.google.com"
$ # returns formatted json

Manually update TLD's

npm run update-tlds

License

MIT

About

A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published