Skip to content

revisionfour/parse-whois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(JSON.stringify(parser.parseWhoIsData(data)));
	});

Test

	npm test

About

Parses WhoIs lookup data from a text string to a JSON object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published