npm.io
1.0.2 • Published 9 years agoCLI

print-ip

Licence
MIT
Version
1.0.2
Deps
1
Vulns
0
Weekly
0

print-ip

A command line tool for getting your IP on the LAN

Install

$ npm install -g print-ip

Usage

$ ip

172.104.0.3

or

$ print-ip

172.104.0.3

Fun

You can append a color to the end of the command and it will print in that color

$ ip magenta

172.104.0.3 # will be the color magenta

Valid colors are:

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • gray

Keywords