hostip

0.0.1 • Public • Published

IP to location using hostip.info

usage:

require("hostip").lookup(ip, [includeLocation], callback);

* ip = IPv4 string
* includeLocation = get the longitude and latitude as well
* callback = function(err, data) where the data is a JSON object

For more info please see http://www.hostip.info/

Readme

Keywords

none

Package Sidebar

Install

npm i hostip

Weekly Downloads

4

Version

0.0.1

License

none

Last publish

Collaborators

  • sugendran