0.2.3 • Published 8 years ago

github-events v0.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Simplify github events handling

Usage

var githubEvents = require('github-events');

// Start listener for github hooks
// Setup github hook to http://your-server.com:3000/push
var events = githubEvents({ port: 3000 });

events.on('branch created', (branchName, params) => {
	console.log('New branch is created: %s', branchName);
	console.log('Original hook params:', params);
});

List of events

  • commits pushed
  • branch created
  • branch deleted
0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago