Usage no npm install needed!

<script type="module">
  import geoIpService from '';


Geo IP lookup service


HTTP API to look up geo information by IP. Uses maxmind.


This service:

  • run npm install followed by npm start,
  • (install will take a bit depending on your internet connection, downloads a file ~55-60Mb on clean install)
  • if you provide MAXMIND_LICENSE_KEY, postbuild script will update the database with the latest one from maxmind servers (TODO)
  • if all goes well server should be listening @ localhost:3000 or whatever port you provide via env vars

Deploying to Heroku

heroku create
git push heroku master
heroku open


Deploy to Heroku


For more information about using Node.js on Heroku, see these Dev Center articles: