@cap-ts/esi

中文文档
2.2.0发布于 2026/11/01SEE LICENSE IN LICENSETypeScriptCommonJS近 30 天下载 2565

Enterprise System Integration Based on SAP CAP

原始使用文档
文档目录5 节
  1. 📦 About
  2. 🧰 Requirements & Setup
  3. 🚀 Installation
  4. 🛠️ Support & Feedback
  5. 📄 License

Version npm

@cap-ts/esi

Remote Service Integration for SAP CAP Applications (Node.js)

📦 About

@cap-ts/esi is an API package for Enterprise System Integration based on SAP CAP (SAP Cloud Application Programming Model). It streamlines communication with remote systems and natively supports service associations — out of the box, with minimal configuration.

⚠️ Critical upgrade required

Important: Upgrade to version 1.9 or higher immediately

A critical fix is included only in version 1.9 and later. Versions below 1.9 will not work correctly and are no longer supported.

Please upgrade to version 1.9 as soon as possible to ensure proper functionality and continued support.

Refer to the official documentation to get started.

🧰 Requirements & Setup

Explore our sample application for a practical implementation of this package. It demonstrates integration patterns, service bindings, and setup essentials.

Additional documentation pages will be added soon.

🚀 Installation

The package is available on npm and can be installed as follows:

npm install @cap-ts/esi@latest

🛠️ Support & Feedback

We welcome your feedback, feature requests, and bug reports!

Submit an issue via our GitHub Issues Tracker. Community feedback are appreciated and help shape the project’s evolution.

📄 License

This package is provided under the terms of the SAP-Code-World Usage License Agreement.

© 2025 SAP-Code-World. All rights reserved.

版本与发布记录

@cap-ts/esi 共发布 34 个版本,首次发布于 2026/05/13;过去 12 个月发布了 34 个版本。

版本发布日期距今
2.2.0latest2026/11/018 天前
2.1.32026/10/2911 天前
2.1.22026/10/2911 天前
2.1.12026/10/1624 天前
2.0.12026/10/1426 天前
2.0.02026/10/1327 天前

其他发布通道:beta → 1.9.0-beta.9。

关于 @cap-ts/esi 的常见问题

@cap-ts/esi 是什么?

Enterprise System Integration Based on SAP CAP

如何安装 @cap-ts/esi?

在项目目录运行 npm install @cap-ts/esi,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@sap/cds(^9.9.1 || ^10)、@cap-ts/soap-adapter(^1.0.0)、@cap-ts/remote-service-adapter(^1.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cap-ts/esi 支持 TypeScript 吗?

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

@cap-ts/esi 支持 ESM 还是 CommonJS?

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

@cap-ts/esi 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cap-ts/esi 可以商用吗?

@cap-ts/esi 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@cap-ts/esi 的下载量有多少?

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

@cap-ts/esi 还在维护吗?

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