npmaudit2slack

Runs npm audit in the current working directory and posts the results to Slack.

Build Status Coverage Status dependencies Status Greenkeeper badge Maintainability node code style License Status

Install

npm install -g npmaudit2slack

Or run without installation

npx npmaudit2slack --help

Usage

npmaudit2slack --help

  Usage: npmaudit2slack [options] <webhookuri>

  Options:
    -v, --version              output the version number
    -u, --username <username>  username to be displayed in Slack, defaults to channel settings
    -e, --emoji <emoji>        emoji to be displayed in Slack, e.g., ":ghost:", defaults to channel settings
    -b, --branch <branch>      branch name to be displayed in Slack
    -r, --reluctant            do not send any message if there are no vulnerabilities
    -h, --help                 output usage information