get-my-ip
v0.0.1get-my-ip
Returns the best-guess public IP address (IPv4) of the local machine.
Install
npm install get-my-ip
Usage
var getMyIP = require('get-my-ip')
console.log('My IP is:', getMyIP())
Returns the best-guess public IP address (IPv4) of the local machine.
npm install get-my-ip
var getMyIP = require('get-my-ip')
console.log('My IP is:', getMyIP())