git-webhooks

1.0.1 • Public • Published

Git[hub] Webhooks

After many search on NPM i haven't found what i need. This packet is really simple, he listen any Github webhooks on given port.

Dependencies

  • eventemitter2

Installation

npm install git-webhooks

Usage

Display the payload data:

var git = require('git-webhooks').onPort(9001);

git.on('push', function(payload) {
  console.log(payload);
});

Auto-sync FTP with Github repo:

(coming soon)

Package Sidebar

Install

npm i git-webhooks

Weekly Downloads

1

Version

1.0.1

License

none

Last publish

Collaborators

  • geck0