1.0.0 • Published 8 years ago
ipmask v1.0.0
ipmask
Also see: https://github.com/nucleardreamer/netrange
useful for IPv4-based neighbor discovery on a subnet. get the subnet ifconfig
netmask. get the public IPv4 interface, including the mac addr and netmask
install
$ npm i ipmask
use
var netmask = require('ipmask')() // an obj w/ IPv4 netmask and mac address