to-know-ip

1.0.4-alpha • Public • Published

What is this?

using this library you can to know local or public IP address. When calling a function 'getIpInfo', pass parameter you want: 'public' or 'local'

Installation

npm install to-know-ip

Usage

const getIp = require('to-know-ip');

local IP

const ip = getIP.getIpInfo('local');

public IP

const ip = getIP.getIpInfo('public');

Readme

Keywords

none

Package Sidebar

Install

npm i to-know-ip

Weekly Downloads

5

Version

1.0.4-alpha

License

ISC

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • tesla_nicola