forked from lennybase/browsernode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) 路 2.93 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) 路 2.93 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "browsernode",
"version": "0.4.5",
"description": "A powerful browser automation library with AI agent capabilities",
"keywords": [
"browser",
"automation",
"ai",
"langchain",
"playwright",
"agent"
],
"license": "MIT",
"homepage": "https://github.com/leoning60/browsernode",
"repository": {
"type": "git",
"url": "https://github.com/leoning60/browsernode.git"
},
"bugs": {
"url": "https://github.com/leoning60/browsernode/issues"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"bin": {
"browsernode-cli": "./cli/cli.js"
},
"workspaces": ["examples"],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./llm": {
"types": "./dist/llm/index.d.ts",
"import": "./dist/llm/index.js",
"require": "./dist/llm/index.js"
},
"./browser": {
"types": "./dist/browser/index.d.ts",
"import": "./dist/browser/index.js",
"require": "./dist/browser/index.js"
},
"./browser/types": {
"types": "./dist/browser/types.d.ts",
"import": "./dist/browser/types.js",
"require": "./dist/browser/types.js"
},
"./agent/views": {
"types": "./dist/agent/views.d.ts",
"import": "./dist/agent/views.js",
"require": "./dist/agent/views.js"
}
},
"files": ["dist", "cli", "README.md", "LICENSE"],
"scripts": {
"build": "tsc -p tsconfig.build.json && cp src/agent/system_prompt.md dist/agent/ && cp src/dom/dom_tree/index.js dist/dom/dom_tree/ && chmod +x cli/cli.js && node scripts/fix-imports.js",
"prepublishOnly": "npm run test && npm run lint && npm run build && npm pack --dry-run",
"lint": "biome check .",
"test": "vitest",
"cli": "tsx src/tokens/cli.ts"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/blessed": "^0.1.25",
"@types/node": "^22.13.13",
"@types/node-fetch": "^2.6.13",
"@types/yargs": "^17.0.33",
"typescript": "^5.8.2"
},
"peerDependencies": {
"typescript": "^5.8.2"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.56.0",
"@google/genai": "^1.8.0",
"@langchain/anthropic": "^0.3.21",
"@langchain/core": "^0.3.64",
"@langchain/google-genai": "^0.2.10",
"@langchain/ollama": "^0.2.1",
"@types/turndown": "^5.0.5",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
"canvas": "^2.11.2",
"class-transformer": "^0.5.1",
"commander": "^12.1.0",
"dotenv": "^16.6.1",
"groq": "^3.96.0",
"langchain": "^0.3.20",
"lefthook": "^1.11.9",
"ollama": "^0.5.16",
"openai": "^5.8.2",
"patchright": "^1.52.5",
"playwright": "^1.52.0",
"posthog-node": "^5.5.0",
"reflect-metadata": "^0.2.2",
"sharp": "^0.34.3",
"systeminformation": "^5.27.7",
"tiktoken": "^1.0.21",
"ts-node": "^10.9.2",
"tsx": "^4.19.3",
"turndown": "^7.2.0",
"uuid": "^11.1.0",
"vitest": "^3.0.9",
"winston": "^3.17.0",
"ws": "^8.18.3",
"yargs": "^18.0.0",
"zod": "^3.24.2",
"zod-to-json-schema": "^3.24.5"
}
}