We just released a new CLI tool for creating HTML reports for NPM Audit! Yay! πŸŽ‰πŸŽ‰πŸŽ‰

Ever since NPM released the new Audit tool for vulnerability detection, we have wanted a way to generate an HTML report. But no tools to do that existed and we didn’t see one being created in the foreseeable future. So we created a tool to do just that.

You can install the tool from NPM by running:

$ npm i -g npm-audit-html

It’s a fairly simple CLI interface. Once you install the tool, all you have to do is run npm auditβ€Šβ€”β€Šjson | npm-audit-html and poof! You have an HTML audit report saved at npm-audit.html. If you want to specify where to save the file, just use the --output option like so npm auditβ€Šβ€”β€Šjson | npm-audit-html -o public/npm-audit.html.

Now you are all setup to generate NPM security reports! πŸŽ‰πŸŽ‰πŸŽ‰

Upvote it on Product Hunt and check out the source code and full documentation on GitHub!