-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
46 lines (46 loc) · 1.15 KB
/
package.json
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
{
"name": "gpt-tokens",
"version": "1.3.13",
"description": "Calculate the token consumption and amount of openai gpt message",
"keywords": [
"gpt",
"chatGPT",
"openai",
"tiktoken",
"token",
"tokens",
"consumption",
"amount"
],
"scripts": {
"test": "node tests/index.js",
"test:perf": "node tests/perf.js",
"build": "npm i && rm -rf dist && tsc && npm run test"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.ts",
"repository": "https://github.com/Cainier/gpt-tokens",
"author": "Cainier <[email protected]>",
"license": "MIT",
"dependencies": {
"decimal.js": "^10.4.3",
"js-tiktoken": "^1.0.15",
"openai-chat-tokens": "^0.2.8"
},
"devDependencies": {
"@types/node": "^12.20.0",
"openai": "^4.28.0",
"typescript": "^5.0.4"
},
"files": [
"dist"
]
}