Socket
Socket
Sign inDemoInstall

external-ip

Package Overview
Dependencies
1
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

external-ip


Version published
Maintainers
1
Install size
3.69 MB
Created

Readme

Source

#external-ip

Build Status

XKCD 865

Get your external IP, with fallbacks

##Installation

npm install external-ip

##Usage

var getIP = require('external-ip').getIP;

getIP(function (err, ip) {
    if (err) {
        //Every service in the list failed to return an ip
    } else {
        //Do stuff        
    }
});

##Why? No idea, really. Just another lib that gives you your external ip address

##Todo:

  • Complete tests
  • Document
  • Clean up some mess
  • Use custom urls
  • ...??

Keywords

FAQs

Last updated on 17 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc