@caido-community/dev

中文文档
0.1.7发布于 2026/05/14MITES Module构建来源已验证近 30 天下载 3738

Development tools for building Caido plugins

原始使用文档
文档目录5 节
  1. 🏎️ Installation
  2. 📟 CLI Commands
  3. Build
  4. Watch
  5. README Assets
image

Github   •   Documentation   •   Discord

👨‍🏭 Dev

A development toolkit for building Caido plugins. This CLI tool simplifies the process of developing, building, and packaging Caido plugins.

🏎️ Installation

pnpm install -D @caido-community/dev

You can then access the binary via caido-dev. If you installed it local to your package, it can be run using pnpm exec caido-dev.

📟 CLI Commands

Build

caido-dev build [path] [--config <path-to-config>]
  • Description: Build the Caido plugin.
  • Options:
    • -c, --config <path>: Path to the caido.config.ts file.

Watch

caido-dev watch [path] [--config <path-to-config>]
  • Description: Start the development server and watch for changes.
  • Options:
    • -c, --config <path>: Path to the caido.config.ts file.

README Assets

Plugin packages always include the root README.md. Local README images are resized when needed and converted to compressed WebP data URIs during packaging, with each image limited to about 100 KiB before base64 encoding and the final README limited to about 2 MiB.

The packaged README is intended for self-contained rendering in Caido. Relative local image references are inlined, relative local non-image links are preserved, and fragment links such as #purpose are preserved. Unsupported URL schemes and absolute URLs, including http:, https:, protocol-relative URLs, javascript:, file:, blob:, and mailto:, are removed from Markdown and raw HTML URL attributes. Existing data:image URIs are preserved only in image contexts when they are small base64 raster images; other data: URLs are removed.

版本与发布记录

@caido-community/dev 共发布 13 个版本,首次发布于 2025/01/03;过去 12 个月发布了 1 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.1.7latest2026/05/145 个月前
0.1.62025/05/211.5 年前
0.1.52025/03/131.7 年前
0.1.42025/03/131.7 年前
0.1.32025/03/061.7 年前
0.1.22025/03/041.7 年前

关于 @caido-community/dev 的常见问题

@caido-community/dev 是什么?

Development tools for building Caido plugins

如何安装 @caido-community/dev?

在项目目录运行 npm install @caido-community/dev,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 caido-dev,可以用 npx caido-dev 直接运行。

@caido-community/dev 支持 TypeScript 吗?

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

@caido-community/dev 支持 ESM 还是 CommonJS?

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

@caido-community/dev 需要什么版本的 Node.js?

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

@caido-community/dev 可以商用吗?

@caido-community/dev 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@caido-community/dev 的下载量有多少?

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

@caido-community/dev 还在维护吗?

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