Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tajpouria/ifconfig-me

Discovers your public IP address using pre-defined checkers (external services).
https://github.com/tajpouria/ifconfig-me

address dns external fast get ip ipv4 ipv6 machine opendns public

Last synced: 17 days ago
JSON representation

Discovers your public IP address using pre-defined checkers (external services).

Awesome Lists containing this project

README

        

# ifconfig-me

Discovers your public IP address using pre-defined checkers (external services).

## Install

```sh
npm install ifconfig-me
```

## Usage

```ts
import publicIP from "ifconfig-me";

console.info(await publicIP());
//=> '46.5.21.123' | 'fe80::200:f8ff:fe21:67cf'
```