freewhois

1.3.4 • Public • Published

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/04/2025

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.40latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.40
1.3.30
1.3.238
1.3.12
1.2.71
1.2.61
1.2.576
1.2.40
1.2.30
1.2.20
1.2.11
1.2.01
1.1.01
1.0.10
1.0.01

Package Sidebar

Install

npm i freewhois

Weekly Downloads

27

Version

1.3.4

License

MIT

Unpacked Size

39.5 kB

Total Files

8

Last publish

Collaborators

  • joshterrill