SIGN IN SIGN UP
openai / openai-node UNCLAIMED

Official JavaScript / TypeScript library for the OpenAI API

0 0 0 TypeScript
2023-06-15 22:36:11 -07:00
{
"name": "openai",
2024-12-20 20:52:26 +00:00
"version": "5.0.0-alpha.0",
"description": "The official TypeScript library for the OpenAI API",
2023-06-15 22:36:11 -07:00
"author": "OpenAI <support@openai.com>",
2023-06-30 18:45:59 -07:00
"types": "dist/index.d.ts",
"main": "dist/index.js",
2023-06-15 22:36:11 -07:00
"type": "commonjs",
"repository": "github:openai/openai-node",
"license": "Apache-2.0",
"packageManager": "yarn@1.22.22",
"files": [
"**/*"
],
2023-06-15 22:36:11 -07:00
"private": false,
"scripts": {
"test": "./scripts/test",
"build": "./scripts/build",
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
2025-05-02 14:36:51 +00:00
"format": "./scripts/format",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
"tsn": "ts-node -r tsconfig-paths/register",
"lint": "./scripts/lint",
2024-08-08 20:21:06 +00:00
"fix": "./scripts/format"
},
2024-12-20 16:32:18 +00:00
"dependencies": {},
"devDependencies": {
2024-12-20 16:32:18 +00:00
"@arethetypeswrong/cli": "^0.17.0",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.4.0",
2025-02-21 11:54:47 +00:00
"@types/ws": "^8.5.13",
2024-12-20 16:32:18 +00:00
"@types/node": "^20.17.6",
"typescript-eslint": "8.31.1",
"@typescript-eslint/eslint-plugin": "8.31.1",
"@typescript-eslint/parser": "8.31.1",
"eslint": "^9.20.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-unused-imports": "^4.1.4",
2025-02-04 14:12:50 -05:00
"execa": "^5.1.1",
"fast-check": "^3.22.0",
"iconv-lite": "^0.6.3",
"jest": "^29.4.0",
2023-12-14 12:45:33 -05:00
"prettier": "^3.0.0",
2024-12-20 16:32:18 +00:00
"publint": "^0.2.12",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.4/tsc-multi-1.1.4.tgz",
"tsconfig-paths": "^4.0.0",
"typescript": "5.8.3",
2025-02-21 11:54:47 +00:00
"ws": "^8.18.0",
"zod": "^3.23.8"
},
"resolutions": {
"synckit": "0.8.8"
},
"imports": {
"openai": ".",
"openai/*": "./src/*"
},
2025-05-02 14:36:51 +00:00
"bin": {
"openai": "bin/cli"
},
2023-06-27 10:20:27 -07:00
"exports": {
".": {
2024-12-20 16:32:18 +00:00
"import": "./dist/index.mjs",
"require": "./dist/index.js"
2023-06-27 10:20:27 -07:00
},
2023-07-20 15:19:39 -07:00
"./*.mjs": {
2023-06-30 18:45:59 -07:00
"default": "./dist/*.mjs"
2023-06-27 10:20:27 -07:00
},
"./*.js": {
2023-06-30 18:45:59 -07:00
"default": "./dist/*.js"
},
2023-07-20 15:19:39 -07:00
"./*": {
2024-12-20 16:32:18 +00:00
"import": "./dist/*.mjs",
"require": "./dist/*.js"
2023-06-27 10:20:27 -07:00
}
},
"peerDependencies": {
2025-02-21 11:54:47 +00:00
"ws": "^8.18.0",
"zod": "^3.23.8"
},
"peerDependenciesMeta": {
2025-02-21 11:54:47 +00:00
"ws": {
"optional": true
},
"zod": {
"optional": true
}
}
2023-06-15 22:36:11 -07:00
}