0.6.2 • Published 6 months ago

@flatfile/plugin-webhook-event-forwarder v0.6.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

The @flatfile/plugin-webhook-event-forwarder plugin forwards events via webhook for clients to manipulate at their endpoints in a language-agnostic way.

Event Type: listener.on('**')

Parameters

url - string

The url parameter takes the webhook url where the events will be forwarded.

callback - function

The callback parameter takes a function that will be called with the webhook response and the event object.

options - object

The options parameter takes an object with the following properties:

  • debug - boolean - (optional) - Whether to log debug messages.

Usage

Install

npm i @flatfile/plugin-webhook-event-forwarder

Import

import { webhookEventForwarder } from "@flatfile/plugin-webhook-event-forwarder";

listener.js

listener.use(webhookEventForwarder("https://webhook.site/...", (data, event) => {
  console.log(data, event);
}));
0.6.2

6 months ago

0.6.1

8 months ago

0.6.0

12 months ago

0.5.0

12 months ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago