Miss any of our Open RFC calls?Watch the recordings here! »

npm-audit-ci

1.2.1 • Public • Published

npm audit ci Build Status

Commandline utility which exit the process with code 1, for the given criteria of vulnerabilities

Useful to make CI build fail when vulnerabilities are found or use to send alert using another tool.

Usage

npm install -g npm-audit-ci
› npm-audit-ci --help                    
Options:
  --version       Show version number                                  [boolean]
  -l, --low       Exit even for low vulnerabilities   [boolean] [default: false]
  -m, --moderate  Exit only when moderate or above vulnerabilities
                                                      [boolean] [default: false]
  -h, --high      Exit only when high or above vulnerabilities
                                                      [boolean] [default: false]
  -c, --critical  Exit only for critical vulnerabilities
                                                       [boolean] [default: true]
  -r, --report    Show npm audit report               [boolean] [default: false]
  --help          Show help                                            [boolean]

License

Please see License

Install

npm i npm-audit-ci

DownloadsWeekly Downloads

1,750

Version

1.2.1

License

MIT

Unpacked Size

6.89 kB

Total Files

5

Last publish

Collaborators

  • avatar