1.0.4 • Published 3 months ago

@misterioso013/ipcli v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

ipcli

Return the public IP address of the client.

CLI

Use the CLI to get the public IP address of the client in the terminal.

Install

npm install -g @misterioso013/ipcli

Usage

npx ipcli
#=> Your local IP address is: 192.168.1.101

API

Use the API to get the public IP address of the client in your code.

Install

npm i @misterioso013/ipcli

Usage

import { ip } from "@misterioso013/ipcli";

console.log(ip()); // 192.168.1.101

Development

Contribute to the development of the package.

Create a fork of the repository and clone it to your local machine.

git clone https://github.com/misterioso013/ipcli.git
cd ipcli
npm install

Test

npm test
1.0.4

3 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago