⚠️ Requires Node.js version 14 or greater.
Node.js wrapper for the OWASP depencency-check CLI tool.
npm install -D owasp-dependency-check
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]"
}
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 -f JSON"
}
Use owasp-dependency-check --help
to check other options.