npm-audit-html

1.5.0 • Public • Published

npm-audit-html

GitHub license npm Build Status Commitizen friendly JavaScript Style Guide semantic-release

Generate a HTML report for NPM Audit

📝 Table of Contents

🏁 Getting Started

$ npm install -g npm-audit-html

This package uses async/await and requires Node.js 7.6

🎈 Usage

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

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

✍️ Authors

See also the list of contributors who participated in this project.

🎉 Acknowledgements

  • Hat tip to anyone whose code was used

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.011,913latest
2.0.0-beta.27,815beta

Version History

VersionDownloads (Last 7 Days)Published
2.0.0-beta.27,815
2.0.0-beta.14
1.5.011,913
1.4.326
1.4.165
1.4.07
1.3.42
1.3.351
1.3.28
1.3.19
1.3.02
1.2.04
1.1.02
1.0.02

Package Sidebar

Install

npm i npm-audit-html

Weekly Downloads

19,912

Version

1.5.0

License

MIT

Unpacked Size

28.2 kB

Total Files

15

Last publish

Collaborators

  • nprail