InfoSec812 / npm-audit-ci-wrapper

A wrapper for 'npm audit' which can be configurable for use in a CI/CD tool like Jenkins
Apache License 2.0
13 stars 11 forks source link

Added the --registry commandline argument #10

Closed dwinchell closed 5 years ago

InfoSec812 commented 5 years ago

Looks OK to me, though I think that perhaps a future evolution may be to allow ALL npm audit arguments by just piping the output of npm audit --json to this command instead of wrapping the npm audit --json command.

dwinchell commented 5 years ago

Tha sounds like a good idea. The pipeline I'm currently working on actually runs npm audit twice right now ... that evolution might save us a step. I'll look into it if I get some time for optimization in the near future.