UNPKG

@coze/realtime-api

Version:

A powerful real-time communication SDK for voice interactions with Coze AI bots | 扣子官方实时通信 SDK,用于与 Coze AI bots 进行语音交互

70 lines 1.99 kB
{ "name": "@coze/realtime-api", "version": "1.0.4", "description": "A powerful real-time communication SDK for voice interactions with Coze AI bots | 扣子官方实时通信 SDK,用于与 Coze AI bots 进行语音交互", "keywords": [ "coze", "ai", "realtime", "voice", "rtc", "asr", "tts", "ai-agent", "voice-synthesis" ], "homepage": "https://github.com/coze-dev/coze-js/packages/realtime-api", "repository": { "type": "git", "url": "https://github.com/coze-dev/coze-js.git", "directory": "packages/realtime-api" }, "license": "MIT", "author": "jackshen <jackshen310@gmail.com>", "type": "module", "exports": { ".": { "require": "./dist/cjs/index.cjs", "import": "./dist/esm/index.js", "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.cjs", "module": "dist/esm/index.js", "types": "./src/index.ts", "typings": "dist/types/index.d.ts", "files": [ "dist", "LICENSE", "README.md", "README.zh-CN.md" ], "scripts": { "build": "rm -rf ./dist && rslib build", "buildAll": "npm run build && cd ../../examples/realtime-console && npm run build", "demo": "npm run start & cd ../../examples/realtime-console && npm run start", "format": "prettier --write .", "lint": "eslint ./ --cache --quiet", "start": "rm -rf dist && rslib build -w", "test": "vitest", "test:cov": "vitest --coverage --run" }, "dependencies": { "@coze/api": "1.0.16", "@volcengine/rtc": "^4.62.1" }, "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/node": "^20", "@types/uuid": "^9.0.1", "@types/whatwg-fetch": "^0.0.33", "@vitest/coverage-v8": "~2.1.4", "axios": "^1.7.7", "typescript": "^5.5.3", "vitest": "~2.1.4" } }