2.1.2 • Published 9 years ago

gh-issue-updates v2.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gh-issue-updates

Get all activity for an issue or pull request, in order.

Example

var getUpdates = require('gh-issue-updates');

getUpdates({
  repo: 'rvagg/through2',
  issue: 33
}).on('data', console.log)

Output:

$ node example.js
{ type: 'issue',
  data: '...' }
{ type: 'commit comment',
  data:  '...' }
{ type: 'comment',
  data:  '...' }
...

Installation

$ npm install gh-issue-updates

Emitted events

  • issue
  • comment
  • commit comment
  • event (assigned, merged, watched etc)

License

MIT