🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-jwa

Node.js JSON WHOIS API client

1.0.1
latest
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created

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

FAQs

Package last updated on 18 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts