2022-12-02 23:43:59 +00:00
|
|
|
{
|
|
|
|
"name": "chatgpt",
|
2023-02-28 10:07:18 +00:00
|
|
|
"version": "4.8.0",
|
2022-12-05 05:13:36 +00:00
|
|
|
"description": "Node.js client for the unofficial ChatGPT API.",
|
2022-12-02 23:43:59 +00:00
|
|
|
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
|
|
|
"repository": "transitive-bullshit/chatgpt-api",
|
|
|
|
"license": "MIT",
|
2022-12-05 10:00:09 +00:00
|
|
|
"type": "module",
|
2022-12-05 09:17:14 +00:00
|
|
|
"source": "./src/index.ts",
|
2022-12-03 05:06:26 +00:00
|
|
|
"types": "./build/index.d.ts",
|
2022-12-02 23:43:59 +00:00
|
|
|
"exports": {
|
2022-12-05 01:55:20 +00:00
|
|
|
".": {
|
2022-12-05 10:00:09 +00:00
|
|
|
"import": "./build/index.js",
|
2022-12-06 06:42:06 +00:00
|
|
|
"types": "./build/index.d.ts",
|
|
|
|
"default": "./build/index.js"
|
2022-12-05 01:55:20 +00:00
|
|
|
}
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2023-02-19 12:17:26 +00:00
|
|
|
"build",
|
|
|
|
"bin"
|
2022-12-02 23:43:59 +00:00
|
|
|
],
|
2023-02-19 12:17:26 +00:00
|
|
|
"bin": "./bin/cli.js",
|
2022-12-02 23:43:59 +00:00
|
|
|
"engines": {
|
2023-02-19 08:09:39 +00:00
|
|
|
"node": ">=14"
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "tsup",
|
|
|
|
"dev": "tsup --watch",
|
|
|
|
"clean": "del build",
|
|
|
|
"prebuild": "run-s clean",
|
|
|
|
"predev": "run-s clean",
|
|
|
|
"pretest": "run-s build",
|
|
|
|
"docs": "typedoc",
|
|
|
|
"prepare": "husky install",
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"test": "run-p test:*",
|
|
|
|
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-23 06:30:40 +00:00
|
|
|
"@dqbd/tiktoken": "^0.2.1",
|
2023-02-19 12:17:26 +00:00
|
|
|
"cac": "^6.7.14",
|
|
|
|
"conf": "^11.0.1",
|
2022-12-05 05:13:36 +00:00
|
|
|
"eventsource-parser": "^0.0.5",
|
2023-02-01 10:48:36 +00:00
|
|
|
"keyv": "^4.5.2",
|
2022-12-07 04:07:14 +00:00
|
|
|
"p-timeout": "^6.0.0",
|
2023-02-01 09:14:10 +00:00
|
|
|
"quick-lru": "^6.1.1",
|
2023-02-19 12:17:26 +00:00
|
|
|
"read-pkg-up": "^9.1.0",
|
2022-12-12 19:46:33 +00:00
|
|
|
"uuid": "^9.0.0"
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-01 10:48:36 +00:00
|
|
|
"@keyv/redis": "^2.5.4",
|
2022-12-02 23:43:59 +00:00
|
|
|
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
|
|
|
"@types/node": "^18.11.9",
|
2022-12-05 05:13:36 +00:00
|
|
|
"@types/uuid": "^9.0.0",
|
2022-12-02 23:43:59 +00:00
|
|
|
"del-cli": "^5.0.0",
|
2022-12-05 05:13:36 +00:00
|
|
|
"dotenv-safe": "^8.2.0",
|
2022-12-02 23:43:59 +00:00
|
|
|
"husky": "^8.0.2",
|
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2022-12-05 07:09:24 +00:00
|
|
|
"ora": "^6.1.2",
|
2022-12-02 23:43:59 +00:00
|
|
|
"prettier": "^2.8.0",
|
|
|
|
"tsup": "^6.5.0",
|
|
|
|
"tsx": "^3.12.1",
|
|
|
|
"typedoc": "^0.23.21",
|
|
|
|
"typedoc-plugin-markdown": "^3.13.6",
|
|
|
|
"typescript": "^4.9.3"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"prettier --write"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"openai",
|
|
|
|
"chatgpt",
|
2023-02-01 09:14:10 +00:00
|
|
|
"chat",
|
2022-12-02 23:43:59 +00:00
|
|
|
"gpt",
|
2023-02-01 09:14:10 +00:00
|
|
|
"gpt-3",
|
2022-12-02 23:43:59 +00:00
|
|
|
"gpt3",
|
|
|
|
"gpt4",
|
|
|
|
"chatbot",
|
|
|
|
"machine learning",
|
|
|
|
"conversation",
|
|
|
|
"conversational ai",
|
|
|
|
"ai",
|
|
|
|
"ml",
|
|
|
|
"bot"
|
2022-12-07 04:07:14 +00:00
|
|
|
]
|
2022-12-02 23:43:59 +00:00
|
|
|
}
|