-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
var geoip = require("geoip-native");
var ip = "123.123.123.123";
geoip.lookup(ip);
console.log("country: " + ip.name + " / " + ip.code);Should be more like:
var geoip = require("geoip-native");
var ip = "123.123.123.123";
var result = geoip.lookup(ip);
console.log("country: " + result.name + " / " + result.code);Metadata
Metadata
Assignees
Labels
No labels