Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

my-local-ip

1.0.0 • Public • Published

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

Keywords

none

install

npm i my-local-ip

Downloadsweekly downloads

3,718

version

1.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar