github-issues
v1.1.3
Published
A utility to fetch github issues
Downloads
5
Readme
github-issues
tl;dr; A utility belt to manage and fetch github issues
Badgers
![Gitter](https://badges.gitter.im/Join Chat.svg)
fetchIssues
returns a issues stream with one issue per _data event
var gi = require('github-issues');
var config = {
'repo' : 'REPO',
'useragent' : 'USERNAME',
'accesstoken': 'ACCESSTOKEN'
};
gi.setConfig(config);
var issueStream = gi.fetchIssues('open|closed');
issueStream.on('_data', function (issue) {
console.log(issue);
});