Generate a HTML report for NPM Audit
$ npm install -g npm-audit-html
This package uses async/await and requires Node.js 7.6
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