3 var github = require('../_common/github.js');
4 var owner = 'BurntSushi';
7 module.exports = function (request) {
8 return github(request, owner, repo).then(function (all) {
13 if (module === require.main) {
14 module.exports(require('@root/request')).then(function (all) {
15 all = require('../_webi/normalize.js')(all);
16 // just select the first 5 for demonstration
17 all.releases = all.releases.slice(0, 5);
18 console.info(JSON.stringify(all, null, 2));