@dytesdk/web-core

中文文档
3.1.11发布于 2025/11/04TypeScriptESM + CJS近 30 天下载 1.2万

A SDK that provides Dyte's core functionality.

原始使用文档
文档目录7 节
  1. Dyte Web Core
  2. Table of Contents
  3. About The Project
  4. Built With
  5. Installation
  6. Usage
  7. About

Logo

Dyte Web Core

A SDK that provides Dyte's core functionality.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

The core SDK provides Dyte's core functionality, while letting a developer build a custom UI over it.

Built With

Installation

npm install @dytesdk/web-core

Usage

A meeting object can be created using the DyteClient.init() method.

const meeting = await DyteClient.init({
    authToken: "<AuthTokenHere>",
    defaults: {
        audio: false,
        video: false,
    }
});

The meeting object is used for all interaction with Dyte's servers. For example, the following code snippet is used for a user to join a room.

await meeting.join();

For more examples, please refer to the Documentation.

About

@dytesdk/web-core is created & maintained by Dyte, Inc. You can find us on Twitter - @dyte_io or write to us at [email protected].

The names and logos for Dyte are trademarks of Dyte, Inc.

We love open source software! See our other projects and our products.

版本与发布记录

@dytesdk/web-core 共发布 1,471 个版本,首次发布于 2021/08/24;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.1.11latest2025/11/041 年前
3.1.102025/10/221.1 年前
3.1.92025/10/221.1 年前
3.2.0-staging.172025/10/221.1 年前
3.2.0-staging.162025/10/091.1 年前
3.2.0-staging.152025/10/061.1 年前

其他发布通道:v0 → 0.46.3,independent-media → 1.9.1-im.2,react-native → 1.12.3-rn.1,ax → 1.17.2-a1,rn → 1.18.0-rn.5,vue → 1.21.0-vue.2。

关于 @dytesdk/web-core 的常见问题

@dytesdk/web-core 是什么?

A SDK that provides Dyte's core functionality.

如何安装 @dytesdk/web-core?

在项目目录运行 npm install @dytesdk/web-core,或使用 pnpm add / yarn add / bun add。

@dytesdk/web-core 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@dytesdk/web-core 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@dytesdk/web-core 可以商用吗?

@dytesdk/web-core 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@dytesdk/web-core 的下载量有多少?

根据 npm 官方下载统计,@dytesdk/web-core 在 2026/10/13 – 2026/11/11 这 30 天内被下载 12,013 次,日均约 400 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dytesdk/web-core 还在维护吗?

最新版本 3.1.11 发布于 2025/11/04(1 年前);至今共发布 1471 个版本,其中过去 12 个月发布了 0 个;首次发布于 2021/08/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。