@nodeutil/publicip
v1.0.3
Published
A utility to get public ip address of current network
Downloads
7
Maintainers
Readme
Utility to get Public IP
Installation
npm i -g zx
npm i -g publicIp
Supported Versions
- Node v14.x
Supported Platform
- Tested and build on Ubuntu 21.04
- Should work on all deb Linux based systems having nodejs v14+
How to use
- Install both the modules zx & publicIp
- type
which publicIp
on terminal, it returns the installation path - type
publicIp
returns your public ip. - Alternatively type
./getIp.js
on terminal to get your public ip, if not installed globally with flag -g.
Troubleshooting
- If it throws some error and error code. Try again in a moment.