node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



build status Coverage Status

Routes a single webhook endpoint to multiple webhook endpoints depending on content of the JSON request body.


Webhooks are sent to this server, and you configure a config.json file (or whatever's in the --config argument) that looks like:

    "match": { "type": "blue" },
    "url": ""

Match is a JavaScript object with a subset of properties that should _.matches a request data subset. Then it routes the same exact request with the same headers and method to a different url, given by url.