Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

lee5i3/audit-check

Repository files navigation

audit-check

Badges

Build Status codecov Known Vulnerabilities Quality Gate Status Codacy Badge

Install

npm install -g audit-check

Common 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 debug

Outputs a JSON but only showing high or greater severity

audit-check --severity high --json

Outputs 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.json

Outputs a table with only low and higher severity, excludes debug and only from production dependencies

audit-check --severity low --whitelist debug --ignore-dev

About

NPM module for filtering down the npm audit functionality

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •