Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork25
🔒 Generate a HTML report for NPM Audit
License
eventOneHQ/npm-audit-html
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 tonpm-audit.html
If you want to specify the output file, add the--output
option:
npm audit --json| npm-audit-html --output report.html
You can also fully customize the generated report by providing--template
option followed by your own handlebars template:
npm audit --json| npm-audit-html --template ./my-awesome-template.hbs
If you'd like the generator to exit with non-zero exit code when vulnerabilities are found, you can add the--fatal-exit-code
option:
npm audit --json| npm-audit-html --fatal-exit-code
- @nprail - Maintainer
See also the list ofcontributors who participated in this project.
- Hat tip to anyone whose code was used
About
🔒 Generate a HTML report for NPM Audit
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.