coze-js

coze-js

The JavaScript SDK for the Coze API

Stars: 59

Visit
 screenshot

Coze-js is a monorepo containing packages for Coze API and Realtime API. It provides usage examples for Node.js and React Web, as well as full console and sample call up demos. The tool requires Node.js 18+, pnpm 9.12.0, and Rush 5.140.0 for installation. Developers can start developing projects within the repository by following the provided steps. Each package in the monorepo can be developed and published independently, with documentation on contributing guidelines and publishing. The tool is licensed under MIT.

README:

Monorepo of Coze Orz

codecov ci

English | ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ“ฆ Packages

This monorepo contains the following packages:

Package Description Version
@coze/api Coze API SDK npm
@coze/realtime-api Realtime API SDK npm
@coze/taro-api Taro Mini Program Coze API SDK npm

๐ŸŽฎ Examples

Find usage examples for each package in the examples directory:

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+ (LTS/Hydrogen recommended)
  • pnpm 9.12.0
  • Rush 5.140.0

Installation

  1. Install Node.js 18+
nvm install lts/hydrogen
nvm alias default lts/hydrogen # set default node version
nvm use lts/hydrogen
  1. Clone the repository
git clone [email protected]:coze-dev/coze-js.git
  1. Install required global dependencies
  1. Install project dependencies
rush update
  1. Build the project
rush build

After that, you can start to develop projects inside this repository.

Enjoy it!

๐Ÿ”จ Development

Each package in this monorepo can be developed and published independently. To start developing:

  1. Navigate to the package directory:
cd packages/<package-name>
  1. Start development:
npm run start

๐Ÿ“– Documentation

๐Ÿ“„ License

MIT

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for coze-js

Similar Open Source Tools

For similar tasks

For similar jobs