{ "name": "chatgpt", "version": "4.8.1", "description": "Node.js client for the unofficial 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": "^0.2.1", "cac": "^6.7.14", "conf": "^11.0.1", "eventsource-parser": "^0.0.5", "keyv": "^4.5.2", "p-timeout": "^6.0.0", "quick-lru": "^6.1.1", "read-pkg-up": "^9.1.0", "uuid": "^9.0.0" }, "devDependencies": { "@keyv/redis": "^2.5.4", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@types/node": "^18.11.9", "@types/uuid": "^9.0.0", "del-cli": "^5.0.0", "dotenv-safe": "^8.2.0", "husky": "^8.0.2", "lint-staged": "^13.0.3", "npm-run-all": "^4.1.5", "ora": "^6.1.2", "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", "chat", "gpt", "gpt-3", "gpt3", "gpt4", "chatbot", "machine learning", "conversation", "conversational ai", "ai", "ml", "bot" ] }