mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
21 lines
495 B
JavaScript
21 lines
495 B
JavaScript
'use strict';
|
|
|
|
var github = require('../_common/github.js');
|
|
var owner = 'creedasaurus';
|
|
var repo = 'gprox';
|
|
|
|
module.exports = function () {
|
|
return github(null, owner, repo).then(function (all) {
|
|
return all;
|
|
});
|
|
};
|
|
|
|
if (module === require.main) {
|
|
module.exports().then(function (all) {
|
|
all = require('../_webi/normalize.js')(all);
|
|
// just select the first 5 for demonstration
|
|
all.releases = all.releases.slice(0, 5);
|
|
console.info(JSON.stringify(all, null, 2));
|
|
});
|
|
}
|