node-webhooks icon indicating copy to clipboard operation
node-webhooks copied to clipboard

:arrow_right_hook: Node.js module to create and trigger your own webHooks.

Results 14 node-webhooks issues
Sort by recently updated
recently updated
newest added

@roccomuso thanks for the package, I'm using this node-webhooks in multiple projects/companies from around 3+ years Simplicity and minimalist design of the node-webhooks helped in wide and faster adoption. as...

hello i need to send a additional data on trigger event for use it after on succes event, for example: ```javascript webHooks.trigger(shortName, payloadData, additionalData); emitter.on('*.success', (shortname, statusCode, body, additionalData)=> {...

question

Change storage strategy with a few modifications to base source. FileStorage & Redis storage are now available, new strategies are easy to integrate.

The documentation is very brief, uninformative, and assumes the reader already has knowledge of many things mentioned.

## API Example ``` javascript var WebHooks = require('node-webhooks') var InMemory = require('webhooks-memory-storage') var FileStorage = require('webhooks-file-storage') var webHooks = new WebHooks({ db: new InMemory(), // in-memory DB //db: new...

enhancement

Allows you to define webhooks like this: ``` webHooks.add('hook', URI + '/:id/abc') ``` and trigger like this: ``` webHooks.trigger('hook', {}, {}, { id: '123' }) ```

In my use case, I have a service that looks something like: POST /resource/:id and I want to direct my webhook to that service based on the POST request body...

Would it be possible to add retries, i.e: ``` retries: 3 retryDelay: 30 ``` If the returned status code is not one of `httpSuccessCodes ` or a timeout, automatically retry...

// Initialize WebHooks module. var WebHooks = require('node-webhooks') // Initialize webhooks module from on-disk database var webHooks = new WebHooks({ db: './webHooksDB.json', // json file that store webhook URLs httpSuccessCodes:...

Correct me if m wrong, I saw that the function accepts only POST request. I wonder if there is a way to specify URL method.