mipa

1.0.1 • Public • Published

Mipa

Machine IP Address. Gather metadata about a machine's public IP address using ifconfig.io.

Installation

npm i mipa

Usage

import mipa from 'mipa'

await mipa()

An object containing the following fields will be returned:

{
  ip: ..., // The machine's public IP address.
  port: ..., // The ephemeral port which was used to connect to ifconfig.io.
  country_code: ..., // Course location of the IP address.
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i mipa

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

1.31 kB

Total Files

3

Last publish

Collaborators

  • oelin