oui-data 1.0.0 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -3
  2. package/index.json +187 -21
  3. package/package.json +14 -14
package/README.md CHANGED
@@ -1,13 +1,16 @@
1
1
  # oui-data
2
- [![](https://img.shields.io/npm/v/oui-data.svg?style=flat)](https://www.npmjs.org/package/oui-data) [![](https://img.shields.io/npm/dm/oui-data.svg)](https://www.npmjs.org/package/oui-data)
2
+ [![](https://img.shields.io/npm/v/oui-data.svg?style=flat)](https://www.npmjs.org/package/oui-data) [![](https://img.shields.io/npm/dm/oui-data.svg)](https://www.npmjs.org/package/oui-data) [![](https://img.shields.io/bundlephobia/minzip/oui-data.svg)](https://bundlephobia.com/package/oui-data) [![](https://packagephobia.com/badge?p=oui-data)](https://packagephobia.com/result?p=oui-data)
3
+
3
4
  > IEEE OUI database as JSON
4
5
 
5
6
  ## Example
6
7
 
8
+ Depending on your environment you may need to use [import attributes](https://github.com/tc39/proposal-import-attributes), [import assertions](https://nodejs.org/api/esm.html#import-assertions) or [nothing at all](https://bun.sh/guides/runtime/import-json).
9
+
7
10
  ```js
8
- import data from "oui-data" assert { type: "json" };
11
+ import ouiData from "oui-data";
9
12
 
10
- console.log(data["203706"]);
13
+ console.log(ouiData["203706"]);
11
14
  //=> Cisco Systems, Inc
12
15
  //=> 80 West Tasman Drive
13
16
  //=> San Jose CA 94568