Skip to content
PluginStats

@cyclonedx/webpack-plugin weekly downloads statistics

By cyclonedx · npm · Webpack plugins

Creates CycloneDX Software Bill of Materials (SBoM) from webpack projects

View on npm Fresh · Dec 6, 2026

@cyclonedx/webpack-plugin has 42,400 recorded weekly downloads on npm, an increase of 12.5% over the past 30 days, ranking #830 of 3,247 tracked listings.

Weekly downloads
42,400
Official API · Dec 5, 2026
7-day growth
+21.0%
+7.4K weekly downloads
30-day growth
+12.5%
+4.7K weekly downloads
90-day growth
+49.5%
+14K weekly downloads
Rank
#830
▲ 27 in 7 days

About @cyclonedx/webpack-plugin

CycloneDX webpack plugin

[![shield_npm-version]][link_npm] [![shield_gh-workflow-test]][link_gh-workflow-test] [![shield_coverage]][link_codacy] [![shield_ossf-best-practices]][link_ossf-best-practices] [![shield_license]][license_file]
[![shield_website]][link_website] [![shield_slack]][link_slack] [![shield_groups]][link_discussion] [![shield_twitter-follow]][link_twitter]


This plugin for [webpack] creates a [CycloneDX] Software Bill of Materials (SBoM) containing an aggregate of all bundled dependencies.
This is probably the most accurate, complete SBOM generator for webpack-based builds.

This plugin uses the linkages generated by webpack to create a dependency graph which only contain the dependencies that are actually used (after tree-shaking).

The resulting SBOM documents follow official specifications and standards.

Requirements

  • Node.js >= 20.18
  • webpack ^5

However, there are older versions of this plugin, that support

  • Node.js v8.0.0 or higher
  • webpack v4.0.0 or higher

Installing

npm i -D @cyclonedx/webpack-plugin
yarn add -D @cyclonedx/webpack-plugin

Usage

new CycloneDxWebpackPlugin(options?: object)
Options & Configuration
<!-- the following table is based on `src/plugin.ts`::`CycloneDxWebpackPluginOptions` -->
NameTypeDefaultDescription
specVersion{string}<br/> one of: "1.2", "1.3", "1.4", "1.5", "1.6", "1.7""1.6"Which version of [CycloneDX-spec] to use.<br/> Supported values depend on the installed dependency [CycloneDX-javascript-library].
reproducibleResults{boolean}falseWhether to go the extra mile and make the output reproducible.<br/> Reproducibility might result in loss of time- and random-based-values.
validateResults{boolean}trueWhether to validate the BOM result.<br/> Validation is skipped, if requirements not met. Requires transitive optional dependencies.
outputLocation{string}"./cyclonedx"Path to write the output to. The path is relative to webpack's overall output path.
includeWellknown{boolean}trueWhether to write the Wellknowns.
wellknownLocation{string}"./.well-known"Path to write the Wellknowns to. The path is relative to webpack's overall output path.
rootComponentAutodetect{boolean}trueWhether to try auto-detection of the RootComponent.<br/> Tries to find the nearest package.json and build a CycloneDX component from it, so it can be assigned to bom.metadata.component.
rootComponentType{string}"application"Set the RootComponent's type.<br/> See the list of valid values. Supported values depend on [CycloneDX-javascript-library]'s enum ComponentType.
rootComponentNameoptional {string}undefinedIf rootComponentAutodetect is disabled, then this value is assumed as the "name" of the package.json.
rootComponentVersionoptional {string}undefinedIf rootComponentAutodetect is disabled, then this value is assumed as the "version" of the package.json.
rootComponentVCSoptional {string}undefinedIf rootComponentAutodetect is disabled or the Version Control System is not declared in the package.json, then this value is used as the URL for [RootComponent's External References'][docs_cdx_metadata_component_externalReferences] of type "vcs".
rootComponentBuildSystemoptional {string}undefinedSet the URL for [RootComponent's External References'][docs_cdx_metadata_component_externalReferences] of type "build-system".<br/> This behavior is regardless of rootComponentAutodetect's status.
collectEvidence{boolean}falseWhether to collect (license) evidence and attach them to the resulting SBOM.
Example

In your [webpack config] add the CycloneDX plugin:

const { CycloneDxWebpackPlugin } = require('@cyclonedx/webpack-plugin');

/** @type {import('@cyclonedx/webpack-plugin').CycloneDxWebpackPluginOptions} */
const cycloneDxWebpackPluginOptions = {
  specVersion: '1.7',
  outputLocation: './bom'
}

module.exports = {
  // ...
  plugins: [
    new CycloneDxWebpackPlugin(cycloneDxWebpackPluginOptions)
  ]
}

See extended [examples].

Support for IETF /.well-known/sbom

The CycloneDX webpack plugin supports placing the CycloneDX SBOM in a pre-defined location, specifically in /.well-known/sbom. This option is enabled by default. The behavior can be changed by overriding the values of includeWellknown and wellknownLocation.
See [draft-ietf-opsawg-sbom-access] for more information on the specification, currently an IETF draft.

In your [webpack config] add the CycloneDX plugin:

const { CycloneDxWebpackPlugin } = require('@cyclonedx/webpack-plugin');

/** @type {import('@cyclonedx/webpack-plugin').CycloneDxWebpackPluginOptions} */
const cycloneDxWebpackPluginOptions = {
  includeWellknown: true,
  wellknownLocation: './.well-known'
}

module.exports = {
  // ...
  plugins: [
    new CycloneDxWebpackPlugin(cycloneDxWebpackPluginOptions)
  ]
}
Use with Angular

Angular uses webpack under the hood. Therefore, it is possible to integrate this plugin by utilizing @angular-builders/custom-webpack.
See an example here: integration with Angular17/webpack5.

Use with React…

Description from the npm listing.

  • webpack
  • plugin
  • webpack-plugin
  • CycloneDX
  • bill-of-materials
  • BOM
  • software-bill-of-materials
  • SBOM
  • inventory
  • component
  • dependency
  • package-url
  • PURL
  • 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

@cyclonedx/webpack-plugin weekly downloads on npm, last 90 days: 42,400 weekly downloads as of Dec 5, 2026, +49.5% over 90 days.@cyclonedx/webpack-pluginWeekly downloads on npm · Last 90 days42,400downloads / week+49.5% over 90 days010K20K30K40K50KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@cyclonedx/webpack-plugin weekly downloads on npm, last 90 days: 42,400 weekly downloads as of Dec 5, 2026, +49.5% over 90 days.

7/30/90-day growth

@cyclonedx/webpack-plugin weekly downloads growth on npm: +21.0% over 7 days, +12.5% over 30 days, +49.5% over 90 days.@cyclonedx/webpack-pluginWeekly downloads growth on npm42,400downloads / week now7-day growth+7,359 weekly downloads+21.0%30-day growth+4,695 weekly downloads+12.5%90-day growth+14,045 weekly downloads+49.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@cyclonedx/webpack-plugin weekly downloads growth on npm: +21.0% over 7 days, +12.5% over 30 days, +49.5% over 90 days.

Ranking history

@cyclonedx/webpack-plugin npm ranking history: currently #830 (by weekly downloads).@cyclonedx/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#830current rank#810#820#830#840#850#860#870Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@cyclonedx/webpack-plugin npm ranking history: currently #830 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 42, #10 (overall #830)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 1, #18 (overall #18)
Webpack plugins: every listing in weekly downloads order

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 (170)
Recent weekly downloads observations for @cyclonedx/webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
42,400+330
42,070+1.8K
40,289+1.8K
38,444+2.1K
36,358+617
35,741+613
35,128+87
35,041-6
35,047+72
34,975-720
35,695-345
36,040-171
36,211-812
37,023—

Similar npm Webpack plugins plugins

All 20 @cyclonedx/webpack-plugin alternatives

Data 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/@cyclonedx/webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.