npm audit --json

Category: Node.js & npm/yarn

npm audit --json

Output the security audit results as JSON for parsing in CI or custom tooling

Outputs the full audit report as machine-readable JSON — useful for piping into security tools or custom dashboards.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.