0.1.1 • Published 12 years ago

whoisclient v0.1.1

Weekly downloads
12
License
-
Repository
github
Last release
12 years ago

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