This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

whois-node

1.0.5 • Public • Published

whois-node

A Node.js module to perform whois lookups

Installation

Install the package using NPM:

npm install whois-node

Usage

const whois = require("whois-node");
whois.lookup("AS13335").then(console.log); // Outputs the ASN information for Cloudflare

Customizable Options

You can customize some options when performing a lookup. Specify these options in a JSON object as the second parameter in the lookup() function.

{
	format: "", // The response output format, can be TEXT or JSON (defaults to JSON)
	server: "" // The WHOIS server to use for the request (if none is provided, the library will query IANA for the preferred WHOIS server and then proceed to query the server IANA responded with)
}

Support

If you need help or find an issue in the package, please open an issue on GitHub Issues. If you find a vulnerability, please email me at milan@milanm.org.

Readme

Keywords

Package Sidebar

Install

npm i whois-node

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

9.86 kB

Total Files

15

Last publish

Collaborators

  • milanmdev