get-ipinfo
Get IP info using ipinfo.io
Install
$ npm install --save get-ipinfo
Usage
var IPinfo = ; /** * Get your IP info */ ; /** * Get defined IP info */ ;
CLI
$ npm install --global get-ipinfo
$ ipinfo --help Usage $ ipinfo Example $ ipinfo --ip 1.3.3.7 $ ipinfo --type country Options --ip Specify an IP address --type Type of information: ip|hostname|city|region|country|loc|org|postal
License
MIT © Adroiter