iphunter
v1.0.6
Published
to hunt a fatest http response.
Downloads
9
Readme
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)