netif

Node wrapper for net/if.h

npm install netif
18 downloads in the last week
40 downloads in the last month

netif

Node library which uses native calls to locate the mac address for a given interface name.

Currently works on OSX, Solaris and Linux, working on support windows at the moment.

-Build Status

Getting Started

Install the module with: npm install netif

var netif = require('netif');
netif.getMacAddress('eth0'); // '00:0C:00:00:00:00'

License

Copyright (c) 2012 Mark Wolfe
Licensed under the MIT license.

npm loves you