get-my-ip

v0.0.1
Return the best-guess public IP of the local machine.

get-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())
npm i get-my-ip

Metadata

  • MIT
  • Whatever
  • Toby Ho
  • released 11/1/2014

Downloads

Maintainers