New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cherry-webhooks

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherry-webhooks

cherry plugin to listen for webhooks events

1.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

cherry-webhooks

config

This config will create a server listening on port 42777 and will produce from: "dockerhub" messages when a "POST /my_dockerhub_hook" request is received.

"webhooks": {
  "host": "0.0.0.0",
  "port": 42777,
  "hooks": [
    [ "dockerhub", "/my_dockerhub_hook" ]
  ]
}

api

Produces "from: <webhook_name>" messages. e.g.

cherry.handle({
  dockerhub: function (message) {
    var repo = message.repository.repo_name;

    cherry.produce({
      to: 'chat',
      body: '[dockerhub] pushed at ' + repo
    });
  }
});

Keywords

cherry

FAQs

Package last updated on 14 Sep 2014

Did you know?

Socket

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.

Install

Related posts