githubtimeline

0.0.0 • Public • Published

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();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i githubtimeline

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • bencevans