1.1.2 • Published 8 years ago

ip-tools v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

ip tool

Description

  • fetch computer ip address with node
  • copy your ip address to clipboard
  • open your server in browser

Install

for node

$  npm install ip-tools

for command line

$  npm install ip -g

Usage

Get your ip

nodejs

var ip = require('ip');
console.log(ip);

command line

$ ip
# this prints: xxx.xx.xxx.xxx

Copy ip to clipboard

$ getip
# prints: copy done
# then you can use `ctrl + v`

Open local server

# default port: 80
$ open

# or
$ open -p 8080

# or
$ open --port 8080 
1.1.2

8 years ago

1.1.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago