@deephaven/embed-widget

中文文档
1.33.2发布于 2026/11/12Apache-2.0ES Module构建来源已验证近 30 天下载 7692

Deephaven Embedded Widget

原始使用文档
文档目录5 节
  1. Running
  2. Query Parameters
  3. Advanced
  4. Application Mode
  5. Configuring Server Address

Embedded Deephaven Widget

This project uses Vite. It is to provide an example React application connecting to Deephaven and displaying a widget.

Running

To start the Embed Widget server, run npm install and npm start in the root directory of this repository. See the Getting Started section for more details.

Query Parameters

  • name: Required. The name of the widget to load

Advanced

Application Mode

See the guide for how to set up core in Application Mode: https://deephaven.io/core/docs/how-to-guides/application-mode/

Once Deephaven is running, you can open a widget with a specific name by adding the query param name, e.g. http://localhost:4010/?name=world

Configuring Server Address

By default, this project assumes you are hosting Deephaven with Python on the default port at http://localhost:10000. If Deephaven is running on a different port/server, update the VITE_CORE_API_URL environment variable to point to the correct server. See .env file for the default definition, and vite docs for other ways to set this environment variable.

版本与发布记录

@deephaven/embed-widget 共发布 572 个版本,首次发布于 2023/12/08;过去 12 个月发布了 80 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.33.2latest2026/11/121 天前
1.33.2-alpha-stable-schema.a01e7df.0.sha-a01e7dfcanary2026/11/121 天前
1.33.2-alpha-stable-schema.c7313ff.0.sha-c7313ff2026/11/121 天前
1.28.1-20261111-DH-24300-hotfix.2334924.0.sha-23349242026/11/121 天前
1.33.12026/11/058 天前
1.33.02026/10/2915 天前

其他发布通道:v0.99 → 0.99.2,v0.78 → 0.78.11,nightly → 1.10.1-beta.0,release-v0.85 → 0.85.46,canary → 1.33.2-alpha-stable-schema.a01e7df.0.sha-a01e7df。

关于 @deephaven/embed-widget 的常见问题

@deephaven/embed-widget 是什么?

Deephaven Embedded Widget

如何安装 @deephaven/embed-widget?

在项目目录运行 npm install @deephaven/embed-widget,或使用 pnpm add / yarn add / bun add。

@deephaven/embed-widget 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/deephaven__embed-widget 是否存在。

@deephaven/embed-widget 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@deephaven/embed-widget 可以商用吗?

@deephaven/embed-widget 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@deephaven/embed-widget 的下载量有多少?

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

@deephaven/embed-widget 还在维护吗?

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