node package manager

git-repos

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

git-repos

Patreon PayPal AMA Version Downloads Get help on Codementor

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

☁️ Installation

$ npm i --save git-repos

📋 Example

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

📝 Documentation

GitRepos(path, callback)

Finds the git repositories paths in the provided path.

Params

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

Return

  • EventEmitter The FindIt event emitter.

😋 How to contribute

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

💰 Donations

Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. 🚀

PayPal donations are appreciated too! Each dollar helps.

Thanks! ❤️

💫 Where is this library used?

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

📜 License

MIT © Ionică Bizău