From f0f76c4eacf4aabf80479b06a9a2292bb17ad1ab Mon Sep 17 00:00:00 2001 From: Julian Ste <31321934+julian-st@users.noreply.github.com> Date: Wed, 8 Oct 2025 03:44:57 +0200 Subject: [PATCH] npm-sbom: add page (#18517) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/npm-sbom.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/npm-sbom.md diff --git a/pages/common/npm-sbom.md b/pages/common/npm-sbom.md new file mode 100644 index 0000000000..b967e068c3 --- /dev/null +++ b/pages/common/npm-sbom.md @@ -0,0 +1,16 @@ +# npm sbom + +> Generate a Software Bill of Materials (SBOM) for your Node.js project. +> More information: . + +- Output a list of all dependencies in your project: + +`npm sbom` + +- Exclude both `dev` and `optional` dependencies: + +`npm sbom --omit dev --omit optional` + +- Generate an SBOM based only on the `package-lock.json`: + +`npm sbom --package-lock-only`