Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 409 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 409 Bytes

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' }