wehbook is a globally available webhook service, node.js based webhook service to do more in less code

Usage no npm install needed!

<script type="module">
  import wehbook from 'https://cdn.skypack.dev/wehbook';



I didn't spell it wrong;

Listener code (client)

const { Wehbook } = require('wehbook')
const hook = new Wehbook();

//844920 = wehbook id (you can use unique one to avoid collisions);
hook.on(844920, async (e)=>{
    console.log("Event Triggered", e);

hook.on() have 2 arguments, 1st is for wehbook id(which is 844920 in this case) and 2nd one is callback function that you want to be executed when wehbook is triggered.

Here's the URL to trigger specific webhook via unique id (you have to put it into listener code replacing 844920 in example code) URL to trigger wehbook;


Just make your new id and replace in example code and trigger url and you're good to go.