1.0.5 • Published 11 months ago

whois-node v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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.

1.0.5

11 months ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago