mac-sync-redis
v0.0.3
Published
mac address manufacturer redis sync tool for [node](http://nodejs.org).
Downloads
4
Maintainers
Readme
mac-sync-redis
A node module to fetch, parse, and sync entries from the IEEE's OUI database to redis. Adapted from mac-lookup which is sqlite based, and was node-ieee-oui-lookup originally.
Install
npm install mac-sync-redis
Usage
var mac = require('mac-sync-redis');
To start a sync with the OUI source, pass a connected redis client:
mac.sync(redisClient, function (err, syncing) {
if (err) throw err;
if (syncing) console.log("re-syncing in the background");
else console.log("data is in sync already");
});