quick-getip
v1.0.1-alpha
Published
"Get your public IP address fast!"
Downloads
2
Maintainers
Readme
quick-getip
Get your public IP address - very fast!
It uses the command line tool (curl) to request an IP address from the service ipify.
Install
npm install quick-getip
Usage
const ip = require('quick-getip');
ip().then(console.log);
//=> '109.5.21.123'
API
Returns a Promise<string>
with your public IP address.