
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@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 64 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
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.