webhook-catcher
This is an express router to catch webhooks. So you add this router to your express server and this router will emit signal when webhooks are triggered by services.
Install
$ npm install webhook-catcher
Getting started
const app = const catcher = services: 'bitbucket' 'github' token: '...' app catcher catcher
Available services
For now, it manages services:
- github
- bitbucket
See how to define webhook in services in services documentation
If you want specific tokens for each service, you can also define the webhook catcher like this:
const catcher = services: name: 'bitbucket' token: '...' name: 'github' token: '...'
Available events
For now, it manages events:
- push
- pull request
See all events fields in events documentation