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/.

Keywords

install

npm i node-jwa

Downloadsweekly downloads

2

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability