Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.01 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "trustcalljs",
"version": "0.3.0",
"description": "Utilities for validated tool calling and extraction with retries using LLMs - TypeScript port of trustcall",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsc",
"test": "vitest",
"test:unit": "vitest --run --exclude 'tests/integration/**'",
"test:integration": "vitest --run tests/integration",
"lint": "eslint src",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
"prepublishOnly": "npm run build"
},
"keywords": [
"langchain",
"langgraph",
"llm",
"structured-output",
"extraction",
"validation",
"tool-calling"
],
"author": "Abdullah Siddique <44811336+siddicky@users.noreply.github.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/siddicky/trustcall-ts.git"
},
"dependencies": {
"@langchain/core": "^0.3.0",
"@langchain/langgraph": "^0.2.0",
"uuid": "^14.0.0",
"zod": "^3.22.0",
"zod-to-json-schema": "^3.22.0"
},
"devDependencies": {
"@dotenvx/dotenvx": "^1.52.0",
"@langchain/anthropic": "^0.3.0",
"@langchain/openai": "^0.3.0",
"@types/node": "^20.10.0",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"dotenv": "^17.2.3",
"eslint": "^8.55.0",
"prettier": "^3.8.1",
"typescript": "^5.3.0",
"vite": "^8.0.5",
"vitest": "^4.1.2"
},
"peerDependencies": {
"@langchain/anthropic": ">=0.3.0",
"@langchain/openai": ">=0.3.0"
},
"peerDependenciesMeta": {
"@langchain/openai": {
"optional": true
},
"@langchain/anthropic": {
"optional": true
}
},
"engines": {
"node": ">=18"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}