Difference between revisions of "Npm audit --help"

From wikieduonline
Jump to navigation Jump to search
 
Line 8: Line 8:
 
   
 
   
 
  Options:
 
  Options:
  [--audit-level <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
+
  [ [[--audit-level]] <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
 
  [--json] [--package-lock-only]
 
  [--json] [--package-lock-only]
 
  [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
 
  [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]

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: