npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

gh-issue-updates

2.1.2

@juliangruber

npmHomeRepoSnykSocket
Downloads:245
$ npm install gh-issue-updates
DailyWeeklyMonthlyYearly

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