Get your geolocation information using freegeoip.app
$ npm install -g @rafaelrinaldi/whereami
Usage: whereami [OPTIONS]
Get your geolocation information using freegeoip.app
Example:
$ whereami
-23.4733,-46.6658
$ whereami -f human
San Francisco, CA, United States
$ whereami 2.151.255.255 -f human
Stabekk, Akershus, Norway
Options:
-v --version Display current software version
-h --help Display help and usage details
-f --format Output format (either human, json or sexagesimal)
-r --raw Output raw data from freegeoip.app
MIT ยฉ Rafael Rinaldi