@cyclonedx/bom

中文文档
4.1.6发布于 2026/07/11Apache-2.0零依赖构建来源已验证近 30 天下载 6.7万

Meta-package for known CycloneDX Software Bill of Materials (SBOM) generators

原始使用文档
文档目录5 节
  1. Out of Scope
  2. Library
  3. Contributing
  4. Copyright & License
  5. Previous versions

CycloneDX BOM for Node.js

shield_npm-version shield_gh-workflow-test shield_license
shield_website shield_slack shield_groups shield_twitter-follow


This is a so-called meta-package, it does not ship any own functionality, but it is a collection of optional dependencies. This package's dependencies are tools* with one purpose in common:
generate CycloneDX Software-Bill-of-Materials (SBOM) from node-based projects.

EcosystemActual Tool
npm@cyclonedx/cyclonedx-npm
pnpmNative subcommand: pnpm sbom
yarn@cyclonedx/yarn-plugin-cyclonedx

*) You should not depend on this very meta-package, instead depend on the actual tool that fits your specific (eco)system.

Out of Scope

There are systems, that are not node-targeting, but use node as a runtime/compiler environment, or use node package registry as a distribution system. These systems are out of scope. Therefore, the following tools are not part of this very meta-package.

SystemActual Tool(s)
AngularUtilize @cyclonedx/cyclonedx-esbuild or @cyclonedx/webpack-plugin
BunUtilize @cyclonedx/cyclonedx-esbuild
BowerNone. (Bower is deprecated!)
Esbuild@cyclonedx/cyclonedx-esbuild
ParcelTo be announced, suggestions welcome
ReactUtilize @cyclonedx/webpack-plugin
Rolluprollup-plugin-sbom
Rspack/RsbuildTo be announced, suggestions welcome
SvelteTo be announced, suggestions welcome
ViteUtilize rollup-plugin-sbom
VueUtilize rollup-plugin-sbom or @cyclonedx/webpack-plugin
Webpack@cyclonedx/webpack-plugin

Library

If you are looking for a JavaScript/TypeScript library for working with CycloneDX, its data models or serialization, then you might want to try @cyclonedx/cyclonedx-library.

Contributing

You want to have a certain node-based tool added?
Feel free to open issues, bugreports or pull requests.
See the CONTRIBUTING file for details.

CycloneDX Node Module is Copyright (c) OWASP Foundation. All Rights Reserved.

Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.
See the LICENSE file for the full license.


Previous versions

This project used to be a tool-set and a library to work and generate CycloneDX Software Bill-of-Materials (SBOM) from npm and yarn based projects.
Since version 4.0, this was all split to individual projects, and this project changed to a bare meta-package.

Previous versions of this very package are still available via npmjs versions and github releases

版本与发布记录

@cyclonedx/bom 共发布 68 个版本,首次发布于 2018/05/23;过去 12 个月发布了 4 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
4.1.6latest2026/07/114 个月前
4.1.52026/03/207 个月前
4.1.42026/03/167 个月前
4.1.32025/11/1311 个月前
4.1.22025/09/151.2 年前
4.1.2-alpha.0unstable-prerelease2025/05/261.5 年前

关于 @cyclonedx/bom 的常见问题

@cyclonedx/bom 是什么?

Meta-package for known CycloneDX Software Bill of Materials (SBOM) generators

如何安装 @cyclonedx/bom?

在项目目录运行 npm install @cyclonedx/bom,或使用 pnpm add / yarn add / bun add。

@cyclonedx/bom 支持 TypeScript 吗?

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

@cyclonedx/bom 可以商用吗?

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

@cyclonedx/bom 的下载量有多少?

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

@cyclonedx/bom 还在维护吗?

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