0.6.1 • Published 5 months ago
@atwupack/owasp-dependency-check v0.6.1
owasp-dependency-check
This is a fork of etnetera/owasp-dependency-check which is no longer maintained.
⚠️ This package is deprecated. All future releases will be in the original owasp-dependency-check. Please change your dev-dependency in
package.json
accordingly.⚠️ Requires Node.js version 18 or greater.
Node.js wrapper for the OWASP dependency-check CLI tool.
npm install -D @atwupack/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 that the OWASP dependency-check CLI tool provides. For example, to generate an HTML and JSON report, use:
"scripts": {
...
"owasp": "owasp-dependency-check --project \"YOUR PROJECT NAME\" -f HTML -f JSON"
}
Additional options
Use owasp-dependency-check --help
to check other options.