-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 1.93 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 1.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
{
"name": "aitoken-cli",
"version": "1.2.0",
"description": "Track AI API usage and costs across OpenAI, Anthropic, Google, and more",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"aitoken": "./dist/index.js",
"at": "./dist/index.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./wrappers": {
"import": "./dist/wrappers.js",
"require": "./dist/wrappers.js",
"types": "./dist/wrappers.d.ts"
},
"./middleware": {
"import": "./dist/middleware.js",
"require": "./dist/middleware.js",
"types": "./dist/middleware.d.ts"
},
"./extensions": {
"import": "./dist/extensions.js",
"require": "./dist/extensions.js",
"types": "./dist/extensions.d.ts"
}
},
"scripts": {
"build": "tsc",
"dev": "tsx src/index.ts",
"start": "node dist/index.js",
"prepare": "npm run build"
},
"keywords": [
"ai",
"tokens",
"openai",
"anthropic",
"claude",
"gpt",
"api",
"usage",
"tracking",
"cli",
"automatic-tracking",
"cost-tracking",
"wrapper",
"middleware"
],
"author": "Brian Mwirigi",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
"commander": "^11.1.0",
"better-sqlite3": "^9.2.2",
"cli-table3": "^0.6.3",
"date-fns": "^3.0.6",
"ora": "^5.4.1"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.8",
"@types/node": "^20.10.6",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"openai": ">=4.0.0",
"@anthropic-ai/sdk": ">=0.20.0",
"@google/generative-ai": ">=0.12.0"
},
"peerDependenciesMeta": {
"openai": {
"optional": true
},
"@anthropic-ai/sdk": {
"optional": true
},
"@google/generative-ai": {
"optional": true
}
},
"engines": {
"node": ">=16.0.0"
}
}