README
externalip
WARNING: perhaps https://github.com/sindresorhus/public-ip is more and more fast, but opendns does not work fine at mainland china.
get your external ip in Node.js
install
npm i externalip
usage
externalip(function (err, ip) {
console.log(ip); // => 8.8.8.8
});