mac-sync-redis

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i mac-sync-redis

Weekly Downloads

4

Version

0.0.3

License

BSD-2-Clause

Last publish

Collaborators

  • quartzjer