CmdID

CmdID / Commands

npm-audit

Scan project dependencies for known security vulnerabilities. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Scan the project's dependencies for known vulnerabilities

npm auditIdentify

Automatically fix vulnerabilities in the project's dependencies

npm audit fixIdentify

Force an automatic fix to dependencies with vulnerabilities

npm audit fix --forceIdentify

Update the lock file without modifying the node_modules directory

npm audit fix --package-lock-onlyIdentify

Simulate the fix process without making any changes

npm audit fix --dry-runIdentify

Output audit results in JSON format

npm audit --jsonIdentify

Configure the audit to only fail on vulnerabilities above a specified severity

npm audit --audit-level infoIdentify