Check for and load Mac OS X kernel extensions

npm install kext
5 downloads in the last week
26 downloads in the last month


var kext = require('kext');

// Ensure that the module with bundle id 'foo.tun' is loaded.  If it isn't, try
// to load it from the specified kext.  Calls the callback as cb(null, true) if
// the module is or could be loaded, cb(null, false) otherwise, or with an
// error object if something failed spectacularly.

kext.ensure('foo.tun', '/Library/Extensions/tun.kext', console.log);



npm loves you