1.0.6 • Published 5 years ago
audit-check v1.0.6
audit-check
Badges
Install
npm install -g audit-checkCommon Configuration Options
| Options | Description | Type | Default |
|---|---|---|---|
severity | Severity to ignore, will filter from the result and return the correct exit code | String | info |
json | Weither to return a JSON or Table | Boolean | false |
ignore-dev | Weither to ignore dev-dependencies | Boolean | false |
output | Path to save output to | String | |
whitelist | List of module names to ignore, comma-separated | String |
Examples
Outputs a JSON but excluding debug
audit-check --json --whitelist debugOutputs a JSON but only showing high or greater severity
audit-check --severity high --jsonOutputs a json to file with only low and higher severity, excludes debug and only from production dependencies
audit-check --severity low --whitelist debug --ignore-dev --output ./result.jsonOutputs a table with only low and higher severity, excludes debug and only from production dependencies
audit-check --severity low --whitelist debug --ignore-dev