IEEE OUI Database

1.1.571 · active · verified Wed Apr 22

oui-data provides the IEEE Organizationally Unique Identifier (OUI) database as a static JSON file, enabling programmatic access to MAC address vendor information. The current stable version is 1.1.571. This package primarily serves as a data source, with updates typically tied to upstream IEEE OUI registry changes and dependency bumps, implying an as-needed release cadence rather than a fixed schedule. Its key differentiator is simplicity and direct JSON export, making it easy to consume in environments that support JSON module imports or require/import raw JSON. It eschews any processing logic or API, focusing solely on delivering the raw, structured OUI data.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to import the oui-data JSON and perform a lookup for a specific OUI to retrieve vendor information, handling both found and not-found cases.

import ouiData from 'oui-data' with {type: 'json'};

const lookupOUI = (oui) => {
  const entry = ouiData[oui.toUpperCase()];
  if (entry) {
    return `${entry.company} - ${entry.address}\n${entry.city} ${entry.state} ${entry.zipCode}\n${entry.country}`;
  } else {
    return `OUI '${oui}' not found.`;
  }
};

console.log(lookupOUI('203706'));
// Example for an unknown OUI
console.log(lookupOUI('000000'));

view raw JSON →