UNPKG

@coze/api

Version:

Official Coze Node.js SDK for seamless AI integration into your applications | 扣子官方 Node.js SDK,助您轻松集成 AI 能力到应用中

128 lines 3.34 kB
{ "name": "@coze/api", "version": "1.3.5", "description": "Official Coze Node.js SDK for seamless AI integration into your applications | 扣子官方 Node.js SDK,助您轻松集成 AI 能力到应用中", "keywords": [ "coze", "ai", "nodejs", "sdk", "chatbot", "typescript" ], "homepage": "https://github.com/coze-dev/coze-js/tree/main/packages/coze-js", "bugs": { "url": "https://github.com/coze-dev/coze-js/issues" }, "repository": { "type": "git", "url": "https://github.com/coze-dev/coze-js.git", "directory": "packages/coze-js" }, "license": "MIT", "author": "Leeight <leeight@gmail.com>", "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts" }, "./ws-tools": { "require": "./dist/cjs/ws-tools/index.js", "import": "./dist/esm/ws-tools/index.mjs", "types": "./dist/types/ws-tools/ws-tools/index.d.ts" } }, "main": "dist/cjs/index.js", "unpkg": "dist/umd/index.js", "module": "dist/esm/index.mjs", "browser": { "crypto": false, "os": false, "jsonwebtoken": false, "node-fetch": false, "ws": false }, "typesVersions": { "*": { ".": [ "dist/types/index.d.ts" ], "ws-tools": [ "dist/types/ws-tools/ws-tools/index.d.ts" ] } }, "files": [ "dist", "LICENSE", "README.md", "README.zh-CN.md" ], "scripts": { "build": "rslib build", "format": "prettier --write .", "lint": "eslint ./ --cache --quiet", "start": "rslib build -w", "test": "vitest", "test:cov": "vitest --coverage --run" }, "dependencies": { "agora-extension-ai-denoiser": "^1.0.0", "agora-rtc-sdk-ng": "4.23.2-1", "agora-rte-extension": "^1.2.4", "jsonwebtoken": "^9.0.2", "node-fetch": "^2.x", "opus-encdec": "^0.1.1", "reconnecting-websocket": "^4.4.0", "uuid": "^10.0.0", "ws": "^8.11.0" }, "devDependencies": { "@coze-infra/eslint-config": "workspace:*", "@coze-infra/ts-config": "workspace:*", "@coze-infra/vitest-config": "workspace:*", "@rslib/core": "0.0.18", "@swc/core": "^1.3.14", "@types/jsonwebtoken": "^9.0.0", "@types/node": "^20", "@types/node-fetch": "^2.x", "@types/uuid": "^9.0.1", "@types/whatwg-fetch": "^0.0.33", "@types/ws": "^8.5.1", "@vitest/coverage-v8": "~2.1.9", "axios": "^1.7.7", "typescript": "^5.5.3", "vitest": "~2.1.9" }, "peerDependencies": { "axios": "^1.7.1" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "cozePublishConfig": { "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts" }, "./ws-tools": { "require": "./dist/cjs/ws-tools/index.js", "import": "./dist/esm/ws-tools/index.mjs", "types": "./dist/types/ws-tools/ws-tools/index.d.ts" } }, "main": "dist/cjs/index.js", "module": "dist/esm/index.mjs", "types": "dist/types/index.d.ts" }, "overrides": { "agora-extension-ai-denoiser": { "agora-rtc-sdk-ng": "$agora-rtc-sdk-ng" } }, "types": "dist/types/index.d.ts" }