An Enhanced WHOIS Server List Based on the IANA Root Zone Database
npm install whois-servers-listAn Enhanced WHOIS Server List Based on the IANA Root Zone Database
Last updated: 2025-12-02
Install the package with NPM or Yarn:
``sh`
npm i whois-servers-listor
yarn add whois-servers-list
(Optional) To ensure that you are using the latest list, you can modify your package.json:
``
{
...
"dependencies": {
...
"whois-servers-list": "latest"
},
...
Then you can use the list like this:
`javascript
const servers = require('whois-servers-list');
const server = servers['com']; // whois.verisign-grs.com
`
or TypeScript:
`typescript
import servers from 'whois-servers-list';
const server: string | null = servers['com']; // whois.verisign-grs.com
`
Add the package with Composer:
`sh`
composer require woomai/whois-servers:dev-master
Then you can use the list like this:
`php``
$servers = json_decode(file_get_contents('vendor/woomai/whois-servers/list.json'), true);
$server = $servers['com']; // whois.verisign-grs.com
If this list is outdated or missing servers, please feel free to open an issue or create pull request!