git-webhooks
v1.0.1
Published
git-webhooks - a simple node server that responds to github post-receive events with meaningful data
Downloads
7
Maintainers
Readme
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)