Node wrapper for net/if.h
Node library which uses native calls to locate the mac address for a given interface name.
Currently works on OSX and Linux, working on support for Solaris / SmartOS and windows at the moment.
Install the module with:
npm install netif
var netif = require'netif';netifgetMacAddress'eth0'; // '00:0C:00:00:00:00'
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Copyright (c) 2012 Mark Wolfe
Licensed under the MIT license.