



This is the actual hardware address that the lowest level of the network uses to communicate. works with stoneage node versions ≥ v0.8 (.Every network interface has a MAC address (Media Access Controller) also known as the physical address.also features a sane replacement for os.networkInterfaces().This library utilizes this information when available. node ≥ 0.12 and io.js report MAC addresses in os.networkInterfaces().works on Linux, Mac OS X, Windows, and on most UNIX systems.There is no web api reporting the mac address of the machine (and that is a good thing). This useful for example for distributed/scaled applications, for example when generating UUIDs.Īlso it seems to be worth noting that this library is not intended to be used in a browser. This library reports the mac address of the server the application is running on. Reporting the mac address is not in any way similar to reporting the IP address of the client that accesses your application.

The host system (see API + Examples below).Ī common misconception about this library is that it reports the mac address of the client that accesses some kind of backend. This library allows to discover the MAC address per network interface and choosesĪn appropriate interface if all you're interested in is one MAC address identifying While a host may have multiple MAC addresses – since every network interface may Retrieve MAC addresses in Linux, OS X, and Windows.Ī common misconception about MAC addresses is that every host had one MAC address,
