2.0.1 • Published 9 months ago
npm-audit-reporter v2.0.1
NPM Audit Reporter
This project builds on top of the existing npm audit functionality by providing additional features and presenting audit reports in various formats such as HTML, JSON, and tables.
Installation
$ npm install --save npm-audit-reporteror
$ npm install -g npm-audit-reporterUsage
Run global
npm-audit-reporter --reporter textAdd into package scripts
{
"scripts": {
"audit": "npm-audit-reporter --reporter text"
}
}Now you can run locally or in your CI pipeline:
npm run auditScreenshots
Output for npm-audit-reporter --reporter text:
Output for npm-audit-reporter --reporter html:
Options
| Flag | Short | Description |
|---|---|---|
--reporter | -r | "text" for console output in tabuler format, "html" for html file |
