Generate a HTML report for NPM Audit
npm install -g npm-audit-html
To generate a report, run the following:
npm audit --json | npm-audit-html
By default the report will be saved to npm-audit.html
If you want to specify the output file, add the --output
option:
npm audit --json | npm-audit-html --output report.html