You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently npm-audit-html only support stdin as input. It would be great if it could accept json file as input.
Something like this npm-audit-html --input audit.json --output report.html.
Also would be nice if it's support threshold(low, moderate, high, critical).
The text was updated successfully, but these errors were encountered:
Adding an --input option makes a lot of sense. Should be easy enough to add too.
Yes, I'm waiting for it in next version :)
I'm curious as to what your use-case is?
I've a jenkins pipeline job which publishes NPM report as html for each build. Unfortunately I didn't find any package having support for all those options (audit thresholds + html as output). Now I need to use 2 package to make a html report and each npm package runs npm audit, that means 2x times executed which is superfluous and time consuming. The first package supports thresholds and can output only as json(but won't support html). So I need to use npm-audit-html for HTML.
Currently
npm-audit-html
only supportstdin
as input. It would be great if it could accept json file as input.Something like this
npm-audit-html --input audit.json --output report.html
.Also would be nice if it's support threshold(low, moderate, high, critical).
The text was updated successfully, but these errors were encountered: