3 var github = require('../_common/github.js');
4 var owner = 'stedolan';
7 module.exports = function (request) {
8 return github(request, owner, repo).then(function (all) {
9 all.releases.forEach(function (rel) {
10 rel.version = String(rel.version).replace(/^jq\-/, '');
16 if (module === require.main) {
17 module.exports(require('@root/request')).then(function (all) {
18 all = require('../_webi/normalize.js')(all);
19 console.info(JSON.stringify(all));
20 //console.info(JSON.stringify(all, null, 2));