
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@dingrtc/whiteboard
Advanced tools
npm install @dingrtc/whiteboard
@dingrtc/whiteboard 支持独立使用和配合 dingrtc sdk 使用两种方式:
dingrtc使用:与 dingrtc 实例共享入会链接,适合 dingrt和白板一起使用的情况import { WhiteboardManager } from '@dingrtc/whiteboard';
const whiteboardManager = new WhiteboardManager();
// 参考 https://help.aliyun.com/document_detail/2640080.html 开通 DingRTC 服务
// 获取用户配置以加入频道
await whiteboardManager.join({
appId: '',
userName: '',
channel: '',
uid: '',
token: ''
});
const myWhiteboard = whiteboardManager.getWhiteboard('my-wb-id');
// 请自行在页面中添加白板容器dom,白板将渲染到这个 dom 中
const wbDom = document.getElementById('your-wb-dom');
await myWhiteboard.open(wbDom);
dingrtc 使用import DingRTC from 'dingrtc';
import { WhiteboardManager } from '@dingrtc/whiteboard';
const client = DingRTC.createClient();
const whiteboardManager = new WhiteboardManager();
// 白板和 rtc 共享同一个入会连接
client.register(whiteboardManager);
await client.join({
appId: '',
userName: '',
channel: '',
uid: '',
token: '',
});
const myWhiteboard = whiteboardManager.getWhiteboard(defaultWhiteboardId);
// 请自行在页面中添加白板容器dom,白板将渲染到这个 dom 中
const wbDom = document.getElementById('your-wb-dom');
await myWhiteboard.open(wbDom);
FAQs
DingRTC web whiteboard SDK.
The npm package @dingrtc/whiteboard receives a total of 66 weekly downloads. As such, @dingrtc/whiteboard popularity was classified as not popular.
We found that @dingrtc/whiteboard demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.