externalip

1.0.2 • Public • Published

externalip

WARNING: perhaps https://github.com/sindresorhus/public-ip is more and more fast, but opendns does not work fine at mainland china.

Build Status

get your external ip in Node.js

install

npm i externalip

usage

externalip(function (err, ip) {
  console.log(ip); // => 8.8.8.8
});

Readme

Keywords

none

Package Sidebar

Install

npm i externalip

Weekly Downloads

148

Version

1.0.2

License

MIT

Last publish

Collaborators

  • alsotang