/geoip2lookup

geoip lookup tool for maxmind, ala legacy geoiplookup tool

Primary LanguageJavaScript

geoip2lookup tool

Designed to be a lookup tool for cli. It should be working on all major platforms and maxmind databases. By default it does have default database locations but you might use --geodb <mmdb_file> to put different location.

Features

  • Lookup for IPv4 and IPv6

Install

npm i -g geoip2lookup

Usage

After the installation, you should be able to lookup with geoip2lookup <ip/host>