@ontos-ai/knowhere-sdk 0.2.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.
- package/LICENSE +21 -0
- package/README.md +254 -0
- package/dist/index.d.mts +668 -0
- package/dist/index.d.ts +668 -0
- package/dist/index.js +1245 -0
- package/dist/index.mjs +1187 -0
- package/package.json +80 -0
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ontos-ai/knowhere-sdk",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Official Node.js SDK for Knowhere document parsing API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"knowhere",
|
|
7
|
+
"document-parsing",
|
|
8
|
+
"pdf",
|
|
9
|
+
"ocr",
|
|
10
|
+
"document-intelligence"
|
|
11
|
+
],
|
|
12
|
+
"author": "Knowhere Team <team@knowhereto.ai>",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"homepage": "https://knowhereto.ai",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Ontos-AI/knowhere-node-sdk.git"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/Ontos-AI/knowhere-node-sdk/issues"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"module": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
|
+
"require": "./dist/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=20.19.0",
|
|
42
|
+
"npm": ">=10.0.0"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
46
|
+
"changeset": "changeset",
|
|
47
|
+
"changeset:publish": "changeset publish",
|
|
48
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
49
|
+
"test": "vitest",
|
|
50
|
+
"test:ci": "vitest run --coverage",
|
|
51
|
+
"lint": "eslint src",
|
|
52
|
+
"lint:fix": "eslint src --fix",
|
|
53
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
54
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
55
|
+
"release:check-changeset": "node ./scripts/require-changeset.mjs",
|
|
56
|
+
"release:beta": "node ./scripts/publish-beta-release.mjs",
|
|
57
|
+
"release:publish": "node ./scripts/publish-release.mjs",
|
|
58
|
+
"release:version": "node ./scripts/release-version.mjs",
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"prepublishOnly": "npm run lint && npm run typecheck && npm run test:ci && npm run build"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"axios": "^1.6.0",
|
|
64
|
+
"jszip": "^3.10.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@changesets/changelog-github": "^0.6.0",
|
|
68
|
+
"@changesets/cli": "^2.30.0",
|
|
69
|
+
"@types/node": "^25.2.3",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
|
71
|
+
"@typescript-eslint/parser": "^8.55.0",
|
|
72
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
73
|
+
"eslint": "^9.39.2",
|
|
74
|
+
"prettier": "^3.0.0",
|
|
75
|
+
"tsup": "^8.0.0",
|
|
76
|
+
"typescript": "^5.3.0",
|
|
77
|
+
"typescript-eslint": "^8.55.0",
|
|
78
|
+
"vitest": "^4.0.18"
|
|
79
|
+
}
|
|
80
|
+
}
|