{ "name": "chatgpt", "version": "5.2.3", "description": "Node.js client for the official ChatGPT API.", "author": "Travis Fischer ", "repository": "transitive-bullshit/chatgpt-api", "license": "MIT", "type": "module", "source": "./src/index.ts", "types": "./build/index.d.ts", "exports": { ".": { "import": "./build/index.js", "types": "./build/index.d.ts", "default": "./build/index.js" } }, "files": [ "build", "bin" ], "bin": "./bin/cli.js", "engines": { "node": ">=14" }, "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": { "@dqbd/tiktoken": "^1.0.7", "cac": "^6.7.14", "conf": "^11.0.1", "eventsource-parser": "^1.0.0", "keyv": "^4.5.2", "p-timeout": "^6.1.1", "quick-lru": "^6.1.1", "read-pkg-up": "^9.1.0", "uuid": "^9.0.0" }, "devDependencies": { "@keyv/redis": "^2.5.7", "@trivago/prettier-plugin-sort-imports": "^4.1.1", "@types/node": "^18.16.3", "@types/uuid": "^9.0.1", "del-cli": "^5.0.0", "dotenv-safe": "^8.2.0", "husky": "^8.0.3", "lint-staged": "^13.2.2", "npm-run-all": "^4.1.5", "ora": "^6.3.0", "prettier": "^2.8.8", "tsup": "^6.7.0", "tsx": "^3.12.7", "typedoc": "^0.24.6", "typedoc-plugin-markdown": "^3.15.3", "typescript": "^5.0.4" }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write" ] }, "keywords": [ "openai", "chatgpt", "chat", "gpt", "gpt-3", "gpt3", "gpt4", "chatbot", "machine learning", "conversation", "conversational ai", "ai", "ml", "bot" ] }