diff --git a/pages/common/npm-sbom.md b/pages/common/npm-sbom.md new file mode 100644 index 00000000000000..7f439de98de677 --- /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`