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
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
MIT
npm i my-local-ip
1,025
1.0.0
MIT