mikemaccana / whois-json

Whois with results in actual, structured, camelCased JavaScript!
62 stars 34 forks source link

IP whois lookup #23

Open sachinraste opened 4 years ago

sachinraste commented 4 years ago

IP Whois Lookup using ARIN . eg: 161.170.232.170

There are multiple records provided by ARIN with the information residing between #start #end blocks.

The bug is in this line of parse-raw-data.js

if ( key in result ) {result[key] = ${result[key]} ${value};return}

mikemaccana commented 4 years ago

Want to add a test for this, then send a pull request?

sachinraste commented 4 years ago

Hi , Added the test in the fork : https://github.com/sachinraste/whois-json Regards