Simple library with no dependencies to lookup the manufactuers from a network MAC address using an up-to-date database imported directly from IEEE registeries.
$ npm install @network-utils/vendor-lookup
$ npm run update
import {toVendor} from '@network-utils/vendor-lookup'
const vendor = toVendor('04:a1:51:1b:12:92') // Returns 'NETGEAR'
Returns the IEEE registered vendor for the prefix of this MAC address or '' if the MAC address is a random MAC (often used by mobile devices for privacy) or '' if this prefix is associated with a vendor which choosed to keep their records private or '' of this prefix is not in IEEE database
Returns true if this MAC address is random