gh-issue-updates

2.1.2 • Public • Published

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

/gh-issue-updates/

    Package Sidebar

    Install

    npm i gh-issue-updates

    Weekly Downloads

    1

    Version

    2.1.2

    License

    MIT

    Last publish

    Collaborators

    • juliangruber