Update npm-audit.md · npm/cli@4e522fd (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 4e522fd
authored and
committed
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -7,8 +7,8 @@ description: Run a security audit | ||
| 7 | 7 | ### Synopsis |
| 8 | 8 | |
| 9 | 9 | ```bash |
| 10 | -npm audit [--json|--parseable | |
| 11 | -npm audit fix [--force|--package-lock-only | |
| 10 | +npm audit [--json] [--production] [--audit-level=(low|moderate | |
| 11 | +npm audit fix [--force|--package-lock-only | |
| 12 | 12 | |
| 13 | 13 | common options: [--production] [--only=(dev|prod)] |
| 14 | 14 | ``` |