Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

mac-sync-redis

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mac-sync-redis

mac address manufacturer redis sync tool for [node](http://nodejs.org).

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

ieee oui lookup

FAQs

Package last updated on 19 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts