Difference between revisions of "Npm audit --help"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<pre>
+
 
  npm audit [--json ][--production]
+
npm audit --help
  npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]
+
Run a security audit
</pre>
+
 +
Usage:
 +
npm audit [fix|signatures]
 +
 +
Options:
 +
[ [[--audit-level]] <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
 +
[--json] [--package-lock-only]
 +
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
 +
[--foreground-scripts] [--ignore-scripts]
 +
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
 +
  [-ws|--workspaces] [--include-workspace-root] [--install-links]
 +
 +
Run "npm help audit" for more info
 +
 
 +
 
 +
 
 +
 
 +
[[npm audit]] [--json ][--production]
 +
  [[npm audit fix]] [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]
  
  
 
== See also ==
 
== See also ==
 +
* {{npm audit}}
 
* {{npm}}
 
* {{npm}}
  
 
[[Category:NPM]]
 
[[Category:NPM]]

Latest revision as of 16:03, 9 October 2022

npm audit --help
Run a security audit 

Usage:
npm audit [fix|signatures]

Options:
[ --audit-level <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
[--json] [--package-lock-only]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
[--foreground-scripts] [--ignore-scripts]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root] [--install-links]

Run "npm help audit" for more info



npm audit [--json ][--production]
npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]


See also[edit]

Advertising: