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.