Sign inSign up

honzahommer/ip2nfo

By honzahommer

•Updated almost 7 years ago

IP2 geolocation web server

Image
0

1.5K

honzahommer/ip2nfo repository overview

⁠ip2nfo

npm version npm download Build Status Greenkeeper badge

IP2 geolocation web server

⁠Install & Running

git clone https://github.com/honzahommer/ip2nfo.git
cd ip2nfo
npm install
npm start

or

npm install -g ip2nfo
ip2nfo --port 3000

or

const ip2nfo = require('ip2nfo');
ip2nfo.start(3000);

⁠Tests

npm test

⁠Endpoints

curl localhost:3000
curl localhost:3000/hostname
curl localhost:3000/1.1.1.1
curl localhost:3000/1.1.1.1/hostname
curl localhost:3000/8.8.8.8/distance/9.9.9.9

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

395.3 MB

Last updated

almost 7 years ago

docker pull honzahommer/ip2nfo