A javascript implementation of the WHOIS protocol for node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

node-whoisclient

A javascript implementation of the WHOIS protocol for node.js

Installation

Installing npm (node package manager)

  $ curl http://npmjs.org/install.sh | sh

Installing node-whoisclient

  $ npm install whoisclient

Usage

Basic Example

	var whois = require('whoisclient');

	whois.query('google.com', function(data) {
		console.log(data);
	});

Advanced Example

	var whois = require('whoisclient');
	var options = { 
		server: 'whois.server.tld', // Different whois server 
		port: 43 // Different port
	};

	whois.query('google.com', options, function(data) {
		console.log(data);
});

Roadmap

  1. Implement automatic thick Lookups

Author: Carlos Paulino