{"id":15489692,"url":"https://github.com/pablopunk/find-repos","last_synced_at":"2025-06-24T08:04:00.099Z","repository":{"id":74867450,"uuid":"92569414","full_name":"pablopunk/find-repos","owner":"pablopunk","description":"Nodejs module to recursively find git repos in any folder","archived":false,"fork":false,"pushed_at":"2017-06-01T01:12:06.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T08:58:36.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pablopunk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-27T03:58:01.000Z","updated_at":"2017-05-27T05:01:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4eac74b-2eb4-47eb-866d-9b412286c8ab","html_url":"https://github.com/pablopunk/find-repos","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.19999999999999996","last_synced_commit":"53ffb865f978c24cdd7e3516e1ccf484322732c8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pablopunk/find-repos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Ffind-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Ffind-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Ffind-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Ffind-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablopunk","download_url":"https://codeload.github.com/pablopunk/find-repos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Ffind-repos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261632031,"owners_count":23187268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T07:06:59.166Z","updated_at":"2025-06-24T08:04:00.066Z","avatar_url":"https://github.com/pablopunk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-repos\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eNode module to recursively find git repos in any folder\u003c/i\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/pablopunk/find-repos\"\u003e\u003cimg src=\"https://travis-ci.org/pablopunk/find-repos.svg?branch=master\" /\u003e\u003c/a\u003e\n  \u003ca href=\"[https://travis-ci.org/pablopunk/find-repos](https://standardjs.com)\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/find-repos\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/find-repos.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n\n```bash\nnpm install --save find-repos\n```\n\n## Usage\n\nThe best feature of `find-repos` against [other alternatives](https://www.npmjs.com/package/find-git-repos) is that `find-repos` works with Promises, so you can use `await` or `then` to call the API:\n\n```javascript\nconst repos = require('find-repos')\nrepos({ baseDir: '~', maxDepth: '2', ignores: ['node_modules'] })\n.then(console.log)\n/* =\u003e\n[ '/Users/pablopunk/repos/bashy',\n  '/Users/pablopunk/repos/dotfiles',\n  '/Users/pablopunk/repos/find-repos',\n  '/Users/pablopunk/repos/healthi-app',\n  '/Users/pablopunk/repos/hyper',\n  '/Users/pablopunk/www/gmaps', ]\n*/\n```\n\n## Options\n\n```javascript\n{\n  basePath : 'defaults to ~, sets the root folder for the search',\n  maxDepth : 'defaults to 3, sets how deep the search gets',\n  ignores : 'defaults to [\"node_modules\"], array of paths to ignore (names are wrapped in *\u003cname\u003e*)'\n}\n```\n\n## Contribute\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nFeel free to open an [issue](https://github.com/pablopunk/find-repos/issues/new) or a [PR](https://github.com/pablopunk/find-repos/compare).\n\n## Related\n\nThe cli for this module =\u003e [find-repos-cli](https://github.com/pablopunk/find-repos-cli)\n\n## Author\n\n| ![me](https://www.gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?s=100) |\n| ----------------------------------------------------------------------------- |\n| © 2017 [Pablo Varela](https://twitter.com/pablopunk)                          |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Ffind-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablopunk%2Ffind-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Ffind-repos/lists"}