1.2.3 • Published 5 years ago

ip2nfo v1.2.3

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

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

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago