openvino-tokenizers-node 2025.2.0 → 2025.3.0
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path to the tokenizer extension library for the current systeam
|
|
3
|
+
*/
|
|
4
|
+
export const path: string;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the path to the tokenizer extension library based on the specified architecture and platform.
|
|
7
|
+
*
|
|
8
|
+
* @param {Object} args - The system information.
|
|
9
|
+
* @param {string} args.arch - The CPU architecture (e.g., 'x64', 'arm64').
|
|
10
|
+
* @param {string} args.platform - The operating system platform (e.g., 'win32', 'linux', 'darwin').
|
|
11
|
+
* @returns {string} The path to the tokenizer extension library.
|
|
12
|
+
*/
|
|
13
|
+
export function getPathToBinary(args: {arch: string, platform: string}): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openvino-tokenizers-node",
|
|
3
|
-
"version": "2025.
|
|
3
|
+
"version": "2025.3.0",
|
|
4
4
|
"description": "OpenVINO™ Tokenizers adds text processing operations to openvino-node package",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/openvinotoolkit/openvino_tokenizers.git",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"main": "openvino-tokenizers.js",
|
|
11
|
+
"types": "openvino-tokenizers.d.ts",
|
|
11
12
|
"os": [
|
|
12
13
|
"win32",
|
|
13
14
|
"darwin",
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
"test": "node --test ./tests/*.test.js"
|
|
21
22
|
},
|
|
22
23
|
"binary": {
|
|
23
|
-
"version": "2025.
|
|
24
|
+
"version": "2025.3.0.0",
|
|
24
25
|
"module_path": "./bin/",
|
|
25
26
|
"remote_path": "./repositories/openvino_tokenizers/packages/{version}/",
|
|
26
27
|
"package_name": "openvino_tokenizers_{platform}_{version}_{arch}.{extension}",
|
|
@@ -41,6 +42,6 @@
|
|
|
41
42
|
],
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"adm-zip": "^0.5.16",
|
|
44
|
-
"openvino-node": "2025.
|
|
45
|
+
"openvino-node": "2025.3.0"
|
|
45
46
|
}
|
|
46
47
|
}
|