1.0.2 • Published 7 years ago
nodeway-ipip v1.0.2
nodeway-ipip
class IP extends Nodeway {
lookup(ip, callback) { ... }
}
module.exports = IP;
lookup()
var api = new IP;
api.lookup('8.8.8.8', function(err, info) {
if(!err) console.log(JSON.stringify(info));
});
License
MIT © May xiaoya zhang