Skip to content

52cik/myip-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published