ipnfo

2.0.6 • Public • Published

ipnfo

npm version npm download Build Status Greenkeeper badge

IP geolocation web server.

Install & Running

Linux host (postinstall not works on Windows)

git clone https://github.com/honzahommer/ipnfo.git && \
cd ipnfo && \
npm install && \
npm start

PM2 (Node.js process manager)

git clone https://github.com/honzahommer/ipnfo.git && \
cd ipnfo && \
npm install && \
pm2 startOrRestart ecosystem.config.js

Docker

docker run -d -p 3000:3000 --restart=always --name=ipnfo honzahommer/ipnfo

Heroku

Deploy

Tests

npm test

Endpoints

curl localhost:3000
curl localhost:3000/8.8.8.8
curl localhost:3000/8.8.8.8/hostname

License

MIT

/ipnfo/

    Package Sidebar

    Install

    npm i ipnfo

    Weekly Downloads

    1

    Version

    2.0.6

    License

    none

    Unpacked Size

    155 kB

    Total Files

    41

    Last publish

    Collaborators

    • honzahommer