rollup-plugin-sbom weekly downloads statistics
By janbiasi · npm · Vite plugins
A rollup, rolldown and vite plugin to generate SBOMs for your application
rollup-plugin-sbom has 17,324 recorded weekly downloads on npm, a decrease of 21.3% over the past 30 days, ranking #823 of 2,391 tracked listings.
About rollup-plugin-sbom
rollup-plugin-sbom
Create SBOMs (Software Bill of Materials) in CycloneDX format for your Vite and Rollup projects, including only the software you're really shipping to production.
A “software bill of materials” (SBOM) has emerged as a key building block in software security and software supply chain risk management. A SBOM is a nested inventory, a list of ingredients that make up software components.
Documentation
Requirements and Compatibility
| Plugin | Vite | Rollup | Rolldown | Node (latest LTS) | CDX Spec |
|---|---|---|---|---|---|
| v1 | 4, 5 | 3, 4 | - | 18, 20 | 1.5 |
| v2 | 4, 5, 6 | 3, 4 | - | 18, 20, 22 | 1.6 |
| v3 | 5, 6, 7, 8 | 4 | 1 | 20, 22, 24 | 1.6 |
| v4 | 6, 7, 8 | 4 | 1 | 22, 24, 26 | 1.7 |
We're always supporting LTS Node.js versions and versions which still have security support. Plugin support will be dropped once a Node.js version reaches its final EOL.
[!NOTE] We currently support both CommonJS and ESM formats for now. We strongly recommend using the ESM format instead of CommonJS. The ESM format is compatible with modern platforms and runtimes, and most new libraries are now distributed only in ESM format. Learn more at https://nodejs.org/en/learn/modules/publishing-a-package#how-did-we-get-here
Installation
You can install the plugin via NPM with your favorite package manager:
npm install --save-dev rollup-plugin-sbom
pnpm install -D rollup-plugin-sbom
yarn add --dev rollup-plugin-sbom
bun add --dev rollup-plugin-sbom
Usage
Usage with Vite
import { defineConfig } from "vite";
import sbom from "rollup-plugin-sbom";
export default defineConfig({
plugins: [sbom()],
});
// or
export default defineConfig({
build: {
// use rollupOptions for Vite < 8
rolldownOptions: {
plugins: [sbom()],
},
},
});
Usage with Rollup
import sbom from "rollup-plugin-sbom";
export default {
plugins: [sbom()],
};
Usage with Rolldown
import { defineConfig } from "rolldown";
import sbom from "rollup-plugin-sbom";
export default defineConfig({
plugins: [sbom()],
});
Configuration Options
| Name | Default | Description |
|---|---|---|
specVersion | 1.7 | The CycloneDX specification version to use |
rootComponentType | application | The root component type, can be library or application |
outDir | cyclonedx | The output directory where the BOM file will be saved. |
outFilename | bom | The base filename for the SBOM files. |
outFormats | ['json'] | The formats to output. Can be any of json and xml (note: xml requires xmlbuilder2). |
saveTimestamp | true | Whether to save the timestamp in the BOM metadata. |
autodetect | true | Whether to get the root package registered automatically. |
generateSerial | false | Whether to generate a serial number for the BOM. |
includeWellKnown | true | Whether to generate a SBOM in the well-known directory. |
supplier | - | Provide organizational entity information |
beforeCollect | - | Enhance the BOM before before collecting dependencies |
afterCollect | - | Transform the BOM before after collecting dependencies |
Optional Peer Dependencies
Some features require optional peer dependencies — see package.json for version details.
- Serialization to XML on Node.js requires any of:
xmlbuilder2
Debugging…
Description from the npm listing.
- vite-plugin
- rollup-plugin
- sbom
- cyclonedx
- bill-of-materials
- bom
- software-bill-of-materials
- inventory
- dependency
- spdx
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm Vite plugins plugins
All 20 rollup-plugin-sbom alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/rollup-plugin-sbom. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.