githubtimeline

ERROR: No README.md file found!

npm install githubtimeline
1 downloads in the last week
4 downloads in the last month

githubtimeline

Polls GitHub's timeline API, emits events through node.js events.EventEmitter

var Timeline = require('./');

var timeline = new Timeline({
  clientId: process.env.GITHUB_ID,
  clientSecret: process.env.GITHUB_SECRET
});
timeline.on('event', function(e) {
  console.log(e);
});
timeline.on('error', function(e) {
  console.error(e);
});
timeline.poll();
npm loves you