
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
simple-docker-webhook
Advanced tools
This package is used to spin up a webserver to get POST requests from docker webhook.
npm install simple-docker-webhook
You can setup a simple webhook like this..
Typescript
import SimpleWebhook from "simple-docker-webhook";
const Port = 3000;
const webhook = new SimpleWebhook(Port);
webhook.on(response => {
// Do something
})
JavaScript
const SimpleWebhook = require("simple-docker-webhook");
const Port = 3000;
const webhook = new SimpleWebhook.default(Port);
webhook.on(response => {
// Do something
})
You can also use express as an middleware
Typescript
import SimpleWebhook from "simple-docker-webhook";
import Express from "express";
const Port = 3000;
const app = Express();
const webhook = new SimpleWebhook(app);
webhook.on(response => {
// Do something
})
app.listen(Port);
JavaScript
const SimpleWebhook = require("simple-docker-webhook");
const Express = require("express");
const Port = 3000;
const app = Express();
const webhook = new SimpleWebhook.default(app);
webhook.on(response => {
// Do something
})
app.listen(Port);
...
interface Options
{
/**
* @param endpoint The endpoint for the webserver
* @default /webhook
*/
endpoint: string;
}
...
FAQs
A simple webhook for docker
We found that simple-docker-webhook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.