whoisclient
v0.1.1
Published
A javascript implementation of the WHOIS protocol for node.js
Downloads
4
Readme
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
- Implement automatic thick Lookups