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 · Oct 18, 2026

@cyclonedx/webpack-plugin has 15,968 recorded weekly downloads on npm, a decrease of 43.3% over the past 30 days, ranking #843 of 2,322 tracked listings.

Weekly downloads
15,968
Official API · Oct 18, 2026
7-day growth
-45.7%
-13.5K weekly downloads
30-day growth
-43.3%
-12.2K weekly downloads
90-day growth
-54.2%
-18.9K weekly downloads
Rank
#843
Among tracked npm listings

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: 15,968 weekly downloads as of Oct 18, 2026, -54.2% over 90 days.@cyclonedx/webpack-pluginWeekly downloads on npm · Last 90 days15,968downloads / week-54.2% over 90 days010K20K30K40K50KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@cyclonedx/webpack-plugin weekly downloads on npm, last 90 days: 15,968 weekly downloads as of Oct 18, 2026, -54.2% over 90 days.

7/30/90-day growth

@cyclonedx/webpack-plugin weekly downloads growth on npm: -45.7% over 7 days, -43.3% over 30 days, -54.2% over 90 days.@cyclonedx/webpack-pluginWeekly downloads growth on npm15,968downloads / week now7-day growth-13,455 weekly downloads-45.7%30-day growth-12,184 weekly downloads-43.3%90-day growth-18,880 weekly downloads-54.2%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@cyclonedx/webpack-plugin weekly downloads growth on npm: -45.7% over 7 days, -43.3% over 30 days, -54.2% over 90 days.

Ranking history

@cyclonedx/webpack-plugin npm ranking history: currently #843 (by weekly downloads).@cyclonedx/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#843current rank#832#834#836#838#840#842#844#846Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@cyclonedx/webpack-plugin npm ranking history: currently #843 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 43, #4 (overall #844)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 2, #1 (overall #21)
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 (122)
Recent weekly downloads observations for @cyclonedx/webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
15,968+1.7K
14,273-1.4K
15,722+233
15,489-6.4K
21,871-7.1K
29,0040
29,004-419
29,423-249
29,672-219
29,891-640
30,531-614
31,145+342
30,803-8.2K
39,018—

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 Oct 20, 2026. See the methodology.