1.1.3 • Published 3 years ago

ipify2 v1.1.3

Weekly downloads
87
License
ISC
Repository
github
Last release
3 years ago

ipify2

An unofficial client library for ipify: A Simple Public IP Address API.

Install

$ npm i ipify2

Usage

const ipify = require('ipify2');

ipify.ipv4().then(ipv4 => console.log(ipv4)).catch(err => console.log(err));
ipify.ipv64().then(ipv64 => console.log(ipv64)).catch(err => console.log(err));

or

(async() => {
    // try {} catch (err) {}
    console.log(await ipify.ipv4());
    console.log(await ipify.ipv64());
})();

License

ISC © Davide Pedrazzi

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago