1.0.0 • Published 9 years ago
my-local-netmask v1.0.0
my-local-netmask
(ripped/converted from dominictarr/my-local-ip)
get the netmask of your current ip address' on the local-network
console.log(require('my-local-netmask')())
//==> 255.255.255.0
Also, because sometime you need this (cross-platform!)
> npm install -g my-local-netmask
> my-local-netmask
255.255.255.0
License
MIT
1.0.0
9 years ago