node-ipgeo
v1.0.0
Published
Geo info retriver for ipv4 address using chinese taobao service.
Downloads
4
Readme
node-ipgeo
Geo info retriver for ipv4 address using chinese taobao service.
Inspired by huacnlee/ip-location.
Goal
Retrieve geo info for ip address via ip.taobao.com .
Limit
- The official limit: for every user, qps < 10. ref
Usage
var ipgeo = require('../index');
ipgeo.query('182.138.127.93', (d) => {
console.log(d.country) # 中国
console.log(d.region) # 四川
console.log(d.city) # 成都
});