cat-kun / myip-cli

View internal IP and external IP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myip

A simple CLI for view internal IP and external IP

中文说明

Installation & Usage

Prerequisites: Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.

$ npm install -g myip-cli
$ myip

# or
$ npx myip-cli

You can see the following information.

internal: { en0: 'x.x.x.x', vnic0: 'x.x.x.x' }
external: { ip: 'x.x.x.x', region: 'region information' }

About

View internal IP and external IP

License:MIT License


Languages

Language:JavaScript 100.0%