Fetch the specified repositories, or those that match a particular github user or search query

npm install getrepos
22 downloads in the last day
55 downloads in the last week
662 downloads in the last month


// Create our getrepos instance
var getter = require('getrepos').create({
    githubClientId: null,      // optional, will try process.env.GITHUB_CLIENT_ID
    githubClientSecret: null,  // optional, will try process.env.GITHUB_CLIENT_SECRET
    log: console.log           // optional, arguments: level, message... 

// Fetch the data on these github repositories
getter.fetchRepos(['bevry/getrepos'], function(err){

    // Fetch all the repo data on these github users/organisations
    getter.fetchReposFromUsers(['bevry'], function(err){

        // Get the combined listing

Repos are returned as an array of repository objects.

npm loves you