0.0.3 • Published 9 years ago

mac-sync-redis v0.0.3

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
9 years ago

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");
});