1.3.5 • Published 8 months ago
freewhois v1.3.5
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 02/28/2025
Usage in code
Install via
npm i freewhois --saveCode 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
Install via
npm i freewhois -gCLI command:
$ freewhois "https://www.google.com"
$ # returns formatted jsonManually update TLD's
npm run update-tldsLicense
MIT