Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 921 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 921 Bytes

owasp-dependency-check

⚠️ Requires Node.js version 14 or greater.

Node.js wrapper for the OWASP depencency-check CLI tool.

npm install -D owasp-dependency-check

Usage

The easiest way is to add a new NPM script to your package.json, for example:

"scripts": {
  ...
  "owasp": "owasp-dependency-check --project \"YOUR PROJECT NAME\" [options]"
}

Options

Owasp Dependency Core options

You can specify any options which the OWASP depencency-check CLI tool provides. For example, to generate a HTML and JSON report, use:

"scripts": {
  ...
  "owasp": "owasp-dependency-check --project \"YOUR PROJECT NAME\" -f HTML JSON"
}

Additional options

Use owasp-dependency-check --help to check other options.