New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

npm-audit-html

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-audit-html

Generate a HTML report for NPM Audit

  • 1.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22K
increased by4.6%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 11 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc