parse-whois

1.0.0 • Public • Published

parse-whois

Parses WhoIs lookup data from a text string to an Array of JSON objects

Installation

    npm install parse-whois --save

Usage

data is the raw output from a WhoIs lookup

    var parser = require('parse-whois');
    var whois = require('node-whois');
 
    whois.lookup('github.com', function(err, data){
        if (err) throw err;
 
        console.log(data);
 
        console.log(parser.parseWhoIsData(data));
    });
 

Test

    npm test

Readme

Keywords

Package Sidebar

Install

npm i parse-whois

Weekly Downloads

60

Version

1.0.0

License

MIT

Last publish

Collaborators

  • revisionfour