ipify 0,0 editorconfig travis-ci npm

Get your public IP address

2 years after MIT

ipify Build Status

Get your public IP address

Using the ipify API.

Usage

$ npm install --save ipify
const ipify = require('ipify');

ipify((err, ip) => {
    console.log(ip);
    //=> '82.142.31.236'
});

CLI

$ npm install --global ipify
$ ipify --help

  Example
    $ ipify
    82.142.31.236

Related

See internal-ip to get your internal IP address.

License

MIT © Sindre Sorhus

Related Repositories

public-apis

public-apis

A collective list of public JSON APIs for use in web development. ...

inadyn

inadyn

Dynamic DNS client with SSL/TLS support. Small, fast, UNIX — suitable for embedd ...

APPublicIP

APPublicIP

Swift library to get the device's current public IP Address. Based on https://ww ...

holepunch

holepunch

Use node.js to punch holes through your router with UPnP SSDP and ZeroConf (Bonj ...

php-ipify

php-ipify

PHP client library for ipify: A Simple IP Address API. ...


Top Contributors

sindresorhus kevva arthurvr LinusU

Dependencies

package version
got ^6.7.1
meow ^3.3.0
dev ava *
is-ip ^2.0.0
xo *

Releases

-   v1.1.0 zip tar
-   v1.0.3 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar
-   1.0.5 zip tar
-   1.0.4 zip tar