A module for Node.js convert ip to location use local data by ipip.net and qqwry data.
You can install it using npm:
$ npm install node-ip-location
var ip = require('node-ip-location');
console.log(ip.convertIp('114.114.114.114'));
Licensed under the MIT license.