oui-data 1.0.0 → 1.0.1
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.
- package/README.md +6 -3
- package/package.json +5 -7
package/README.md
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# oui-data
|
|
2
|
-
[](https://www.npmjs.org/package/oui-data) [](https://www.npmjs.org/package/oui-data)
|
|
2
|
+
[](https://www.npmjs.org/package/oui-data) [](https://www.npmjs.org/package/oui-data) [](https://bundlephobia.com/package/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
|
|
11
|
+
import ouiData from "oui-data";
|
|
9
12
|
|
|
10
|
-
console.log(
|
|
13
|
+
console.log(ouiData["203706"]);
|
|
11
14
|
//=> Cisco Systems, Inc
|
|
12
15
|
//=> 80 West Tasman Drive
|
|
13
16
|
//=> San Jose CA 94568
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oui-data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "silverwind <me@silverwind.io>",
|
|
5
5
|
"description": "IEEE OUI database as JSON",
|
|
6
6
|
"repository": "silverwind/oui-data",
|
|
@@ -8,19 +8,17 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"main": "./index.json",
|
|
11
|
-
"
|
|
12
|
-
"node": ">=18"
|
|
13
|
-
},
|
|
11
|
+
"exports": "./index.json",
|
|
14
12
|
"files": [
|
|
15
13
|
"./index.json"
|
|
16
14
|
],
|
|
17
15
|
"devDependencies": {
|
|
18
|
-
"country-data": "
|
|
16
|
+
"country-data": "0.0.31",
|
|
19
17
|
"eslint": "8.50.0",
|
|
20
18
|
"eslint-config-silverwind": "76.0.3",
|
|
21
19
|
"fetch-enhanced": "11.1.2",
|
|
22
|
-
"json-stable-stringify": "
|
|
23
|
-
"node-fetch": "
|
|
20
|
+
"json-stable-stringify": "1.0.2",
|
|
21
|
+
"node-fetch": "3.3.2",
|
|
24
22
|
"semver": "7.5.4",
|
|
25
23
|
"updates": "15.0.2",
|
|
26
24
|
"versions": "11.1.0",
|