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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    2
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i mac-sync-redis

Weekly Downloads

2

Version

0.0.3

License

BSD-2-Clause

Last publish

Collaborators

  • quartzjer