hubot-npm

1.0.1 • Public • Published

hubot-npm

Build Status

Hubot script for npm notifications via hooks

Installation

npm install --save hubot-npm

Add the script to your external-scripts.json file:

[
  "hubot-npm"
]

You'll need to export a secret that you should use to verify your hooks:

export HUBOT_NPM_SECRET=<secret>

If you want to set a default room for notifications:

export HUBOT_NPM_ROOM=<room>

Usage

The npm hook URL is:

<hubot_url>:<port>/hubot/npm[?room=<room>]

Be sure to set the ?room query string parameter if you've not set the HUBOT_NPM_ROOM variable.

You can add your hook using the wombat CLI tool:

wombat hook add <user|package|scope> <hubot_url>:<port>/hubot/npm[?room=<room>] <secret>

Package Sidebar

Install

npm i hubot-npm

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • robinmurphy