Difference between revisions of "Npm audit"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Examples == | == Examples == | ||
+ | * <code>[[npm audit --help]]</code> | ||
* <code>npm audit</code> | * <code>npm audit</code> | ||
* <code>npm audit --production</code> | * <code>npm audit --production</code> | ||
Line 8: | Line 9: | ||
* <code>[[npm audit fix --dry-run]]</code> | * <code>[[npm audit fix --dry-run]]</code> | ||
* <code>[[npm audit --audit-level=moderate]]</code> | * <code>[[npm audit --audit-level=moderate]]</code> | ||
− | * <code>[[npm audit -- | + | * <code>[[npm audit --audit-level=critical --parseable --prod]]</code> |
== Related terms == | == Related terms == | ||
Line 14: | Line 15: | ||
* <code>[[docker scan]]</code> | * <code>[[docker scan]]</code> | ||
* [[GitHub]] [[dependabot]] | * [[GitHub]] [[dependabot]] | ||
+ | * Turn off audit for a package: <code>[[npm install]] example-package-name --no-audit</code> | ||
+ | * <code>[[npm run audit:check]]</code> | ||
+ | * <code>[[better-npm-audit]]</code> | ||
== See also == | == See also == | ||
− | * {{npm}} | + | * {{npm audit}} |
+ | * {{Auditing}} | ||
* {{SCA}} | * {{SCA}} | ||
[[Category:JavaScript]] | [[Category:JavaScript]] |
Latest revision as of 14:43, 21 November 2022
https://docs.npmjs.com/cli/v8/commands/npm-audit
Examples[edit]
npm audit --help
npm audit
npm audit --production
npm audit fix
npm audit fix --dry-run
npm audit --audit-level=moderate
npm audit --audit-level=critical --parseable --prod
Related terms[edit]
- Auditing
docker scan
- GitHub dependabot
- Turn off audit for a package:
npm install example-package-name --no-audit
npm run audit:check
better-npm-audit
See also[edit]
Advertising: