Node.js - How to get my external IP address in node.js app?

node.js

Solution

Use my `externalip` package on GitHub

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

Problem

I'm using node.js and I need to get my external IP address, provided by my ISP. Is there a way to achieve this without using a service like http://myexternalip.com/raw ? Thanks.

Original source