You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create CycloneDX Software Bill of Materials (SBOM) from Node.js NPM projects.
75
75
76
76
Arguments:
77
-
<package-manifest> Path to project's manifest file.
78
-
(default: "package.json" file in current working directory)
77
+
<package-manifest> Path to project's manifest file.
78
+
(default: "package.json" file in current working directory)
79
79
80
80
Options:
81
-
--ignore-npm-errors Whether to ignore errors of NPM.
82
-
This might be used, if "npm install" was run with "--force" or "--legacy-peer-deps".
83
-
(default: false)
84
-
--package-lock-only Whether to only use the lock file, ignoring "node_modules".
85
-
This means the output will be based only on the few details in and the tree described by the "npm-shrinkwrap.json" or "package-lock.json", rather than the contents of "node_modules" directory.
86
-
(default: false)
87
-
--omit <type...> Dependency types to omit from the installation tree.
88
-
(can be set multiple times)
89
-
(choices: "dev", "optional", "peer", default: "dev" if the NODE_ENV environment variable is set to "production", otherwise empty)
90
-
--gather-license-texts Search for license files in components and include them as license evidence.
91
-
This feature is experimental. (default: false)
92
-
--flatten-components Whether to flatten the components.
93
-
This means the actual nesting of node packages is not represented in the SBOM result.
94
-
(default: false)
95
-
--short-PURLs Omit all qualifiers from PackageURLs.
96
-
This causes information loss in trade-off shorter PURLs, which might improve ingesting these strings.
97
-
(default: false)
98
-
--spec-version <version> Which version of CycloneDX spec to use.
Use multiple times to increase the verbosity even more.
115
-
-V, --version output the version number
116
-
-h, --help display help for command
81
+
--ignore-npm-errors Whether to ignore errors of NPM.
82
+
This might be used, if "npm install" was run with "--force" or "--legacy-peer-deps".
83
+
(default: false)
84
+
--package-lock-only Whether to only use the lock file, ignoring "node_modules".
85
+
This means the output will be based only on the few details in and the tree described by the "npm-shrinkwrap.json" or "package-lock.json", rather than the contents of "node_modules" directory.
86
+
(default: false)
87
+
--omit <type...> Dependency types to omit from the installation tree.
88
+
(can be set multiple times)
89
+
(choices: "dev", "optional", "peer", default: "dev" if the NODE_ENV environment variable is set to "production", otherwise empty)
90
+
--gather-license-texts Search for license files in components and include them as license evidence.
91
+
This feature is experimental. (default: false)
92
+
--flatten-components Whether to flatten the components.
93
+
This means the actual nesting of node packages is not represented in the SBOM result.
94
+
(default: false)
95
+
--short-PURLs Omit all qualifiers from PackageURLs.
96
+
This causes information loss in trade-off shorter PURLs, which might improve ingesting these strings.
97
+
(default: false)
98
+
--spec-version <version> Which version of CycloneDX spec to use.
0 commit comments