node package manager

git-repos

Find all the git repositories in a specified directory, recursively.

git-repos

Find all the git repositories in a specified directory, recursively.

$ npm i --save git-repos
// Dependencies 
var GitRepos = require("git-repos");
 
// Find all the git repos from home 
GitRepos("~/", function (errdirstat) {
    if (err) { return console.log(err); }
    console.log(dir);
});

Finds the git repositories paths in the provided path.

  • String path: The path where to search recursively the git repositories.
  • Function callback: The callback function.
  • EventEmitter The FindIt event emitter.

Have an idea? Found a bug? See how to contribute.

If you are using this library in one of your projects, add it in this list. ✨

MIT © Ionică Bizău