We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b5953 commit f0f76c4Copy full SHA for f0f76c4
pages/common/npm-sbom.md
@@ -0,0 +1,16 @@
1
+# npm sbom
2
+
3
+> Generate a Software Bill of Materials (SBOM) for your Node.js project.
4
+> More information: <https://docs.npmjs.com/cli/npm-sbom>.
5
6
+- Output a list of all dependencies in your project:
7
8
+`npm sbom`
9
10
+- Exclude both `dev` and `optional` dependencies:
11
12
+`npm sbom --omit dev --omit optional`
13
14
+- Generate an SBOM based only on the `package-lock.json`:
15
16
+`npm sbom --package-lock-only`
0 commit comments