包详细信息

my-local-ip

dominictarr5.4kMIT1.0.0

tell me my local ip address

自述文件

my-local-ip

get your current ip address on the local-network

console.log(require('my-local-ip')())
//==> 192.168.1.33

Also, because sometime you need this (cross-platform!)

> npm install -g my-local-ip
> my-local-ip
192.168.1.33

License

MIT