ipmask
v1.0.0
Published
get a public interface's mac and subnet ifconfig netmask
Readme
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 ipmaskuse
var netmask = require('ipmask')() // an obj w/ IPv4 netmask and mac address