node-jwa

1.0.1 • Public • Published

Node.js JSON WHOIS API Client

A simple client to retrieve information from jsonwhoisapi.com (jwa).

Requirements

Signup for an account at jsonwhoisapi.com. You will need to supply the script your jwa account number and API key.

Instalation

npm install node-jwa

Usage

var jwa = require('node-jwa');
var jwaConfig = ['jwaAccountNumber', 'jwaAPIKey'];
 
jwa(jwaConfig, 'google.com').then(function(whois) {
  console.log(whois.registered);
  #Prints 'true' 
});

Further Reading

For additional information about the objects available from the whois lookup, see https://jsonwhoisapi.com/docs/.

Dependents (0)

Package Sidebar

Install

npm i node-jwa

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • binaryzeph