Convert `npm audit` reports into GitLab dependency scanner reports
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.editorconfig
.gitignore
README.md
package-lock.json
package.json
parse.js

README.md

GitLab parser for NPM Audit

Usage: parse [options]

Options:

  -V, --version     output the version number
  -o, --out <path>  output filename, defaults to gl-dependency-scanning-report.json
  -h, --help        output usage information

How to use

npm audit --json | ./parse.js -o report.json

Test

cat test/juice-shop.json | ./parse.js -o report.json