0.1.0 • Published 5 years ago
uipath-webhooks v0.1.0
uipath-webhooks
Simple Node.JS helper module for Webhook based integration.
Table of content
Installation
npm install uipath-webhooks
Usage
var util = require('util');
var WebhookServer = require('uipath-webhooks').WebhookServer;
var SECRET = 'abcdef';
var PORT = 3000;
var server = new WebhookServer(SECRET);
server.on('job.faulted', function (event) {
console.log(util.inspect(event));
});
server.listen(PORT);
License
MIT
0.1.0
5 years ago