iphunter

1.0.6 • Public • Published

iphunter

to hunt a fatest http response.

usage

iphunter(iplist,check_call_back[,timeout]);

 
import iphunter from 'iphunter';
 
iphunter([
  '192.168.99.199',
  'baidu.com',
  'aliyun.com',
  'qq.com',
  '192.168.99.100',
  '127.0.0.0:8080',
  '192.168.1.48:8080',
  'localhost:8080'
], function (fatest_ip_response) {
  if(!fatest_ip_response) return console.error('nothing!');
  
  console.log('done -> ', fatest_ip_response);
},3000)
 

Readme

Keywords

Package Sidebar

Install

npm i iphunter

Weekly Downloads

1

Version

1.0.6

License

MIT

Last publish

Collaborators

  • xinwangwang