
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
@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 83 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.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.