@dataloop-ai/jssdk

中文文档
0.1.6发布于 2026/11/08Apache-2.0TypeScriptCommonJS近 30 天下载 5569

Dataloop's JS SDK Library

原始使用文档
文档目录4 节
  1. appLib
  2. examples
  3. sdkApi
  4. Scripts

Dataloop JS-SDK Library components version release status

Written in TypeScript, this repository contains the core of Dataloop's Javacript SDK.

appLib

appLib contains the xFrame which serves as the main communication tool between Dataloop's platform and external web applications. It contains two SDK drivers - dataloop (REST) and xFrameDriver (xFrame). This directory is compiled into one dlAppLib.js file, that can be used as an external script in any application (see: examples)

examples

In this folder you can find examples of basic applications that use the compiled appLib, demonstrating the use of the xFrameDriver. Feel free to add examples of your own.

sdkApi

This directory serves as the source of truth of the JS-SDK API. It contains the entities and interfaces that the SDK drivers implement.

Scripts

  1. In order to compile and create an updated version of dlAppLib, you can run npm run build:applib
  2. For a regular build, run npm run build

版本与发布记录

@dataloop-ai/jssdk 共发布 128 个版本,首次发布于 2023/02/21;过去 12 个月发布了 6 个版本。

版本发布日期距今
0.1.6latest2026/11/083 天前
0.1.42026/11/056 天前
0.1.32026/03/237 个月前
0.1.22026/03/098 个月前
0.1.12026/03/098 个月前
0.0.1112025/11/1711 个月前

关于 @dataloop-ai/jssdk 的常见问题

@dataloop-ai/jssdk 是什么?

Dataloop's JS SDK Library

如何安装 @dataloop-ai/jssdk?

在项目目录运行 npm install @dataloop-ai/jssdk,或使用 pnpm add / yarn add / bun add。

@dataloop-ai/jssdk 支持 TypeScript 吗?

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

@dataloop-ai/jssdk 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@dataloop-ai/jssdk 可以商用吗?

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

@dataloop-ai/jssdk 的下载量有多少?

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

@dataloop-ai/jssdk 还在维护吗?

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