GeoIP2 module for node.js

Module for node.js to lookup IP-address location details with the very accurate and extensive MaxMind GeoIP2 web service.

  1. Information
  2. Example
  3. Installation
  4. Related stuff


Platform: node.js
Language: javascript
Package: geoip2ws on npm
Source code: Github
Bugs & feedback: Issue tracker
License: Unlicense / Public Domain


In this example I use an IPv4 address but you can lookup IPv6 addresses the same way.


You can install or update this module easily with npm:

npm i geoip2ws --save

Leave a Reply

Your email address will not be published. Required fields are marked *