Difference between revisions of "Npm audit"
Jump to navigation
Jump to search
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | https://docs.npmjs.com/cli/v8/commands/npm-audit | ||
+ | == Examples == | ||
+ | * <code>[[npm audit --help]]</code> | ||
+ | * <code>npm audit</code> | ||
+ | * <code>npm audit --production</code> | ||
+ | * <code>[[npm audit fix]]</code> | ||
+ | * <code>[[npm audit fix --dry-run]]</code> | ||
+ | * <code>[[npm audit --audit-level=moderate]]</code> | ||
+ | * <code>[[npm audit --audit-level=critical --parseable --prod]]</code> | ||
== Related terms == | == Related terms == | ||
* [[Auditing]] | * [[Auditing]] | ||
+ | * <code>[[docker scan]]</code> | ||
+ | * [[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}} | ||
+ | |||
+ | [[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: