node-ip-location

NPM Downloads NPM Version License

A module for Node.js convert ip to location use local data by ipip.net and qqwry data.

Installation

You can install it using npm:

$ npm install node-ip-location

Example

var ip = require('node-ip-location');

console.log(ip.convertIp('114.114.114.114'));

License

Licensed under the MIT license.