{"id":13448552,"url":"https://github.com/lightness/github-repo-tools","last_synced_at":"2026-03-09T13:37:47.983Z","repository":{"id":34890746,"uuid":"187006963","full_name":"lightness/github-repo-tools","owner":"lightness","description":"A set of useful tools helping search dependencies in all repos of github user/org","archived":false,"fork":false,"pushed_at":"2023-05-01T03:31:38.000Z","size":757,"stargazers_count":12,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T03:45:50.068Z","etag":null,"topics":["github","github-api","octokit","version-manager","versioning"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/lightness.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":"2019-05-16T10:35:46.000Z","updated_at":"2025-04-22T16:42:53.000Z","dependencies_parsed_at":"2024-10-28T13:08:23.795Z","dependency_job_id":"fbd7e47f-7ad6-4bd6-9418-d7b67bacb50e","html_url":"https://github.com/lightness/github-repo-tools","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":"0.031746031746031744","last_synced_commit":"bc9493edc20ea19cbec8b34e57ea379f273f5bc3"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lightness/github-repo-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightness%2Fgithub-repo-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightness%2Fgithub-repo-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightness%2Fgithub-repo-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightness%2Fgithub-repo-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightness","download_url":"https://codeload.github.com/lightness/github-repo-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightness%2Fgithub-repo-tools/sbom","scorecard":{"id":589189,"data":{"date":"2025-08-11","repo":{"name":"github.com/lightness/github-repo-tools","commit":"bc9493edc20ea19cbec8b34e57ea379f273f5bc3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cj7v-w2c7-cp7c","Warn: Project is vulnerable to: GHSA-4jpv-8r57-pv7j","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp","Warn: Project is vulnerable to: GHSA-mpwj-fcr6-x34c"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T21:23:34.838Z","repository_id":34890746,"created_at":"2025-08-20T21:23:34.838Z","updated_at":"2025-08-20T21:23:34.838Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github","github-api","octokit","version-manager","versioning"],"created_at":"2024-07-31T05:01:48.811Z","updated_at":"2026-03-09T13:37:47.950Z","avatar_url":"https://github.com/lightness.png","language":"TypeScript","readme":"# Github Repo Tools\n\nMain goal is check versions of some npm package in all repos of single github user/org.\n\n## Examples\n\n#### You can specify command line arguments\n\n\u003cimg src=\"https://pp.userapi.com/c850016/v850016709/18fee1/JwKo9KOnzBg.jpg\" align=\"center\" /\u003e\n\n#### Or just answer some questions\n\n\u003cimg src=\"https://pp.userapi.com/c850728/v850728163/122ff9/Mant09kj4M4.jpg\" align=\"center\" /\u003e\n\n#### Some usage examples:\n\n```sh\n# Search node version from .nvmrc\ngrt -u \u003cgithub-user\u003e -n\n\n# Search npm package in package.json\ngrt -u \u003cgithub-user\u003e -p \u003cnpm-package\u003e\n\n# Search npm package just in package.json \"devDependencies\" field\ngrt -u \u003cgithub-user\u003e -p \u003cnpm-package\u003e --no-deps --no-peer-deps\n\n# Show rate limits\ngrt -l\n\n# Show report in pretty json format\ngrt -o \u003cgithub-org\u003e -n --json\n\n# Show report in raw json format without whitespaces\ngrt -o \u003cgithub-org\u003e -n --raw-json\n\n# Show report about npm package in Bitbucket repos (workspace and token)\ngrt -R bitbucket -w \u003cbitbucket-workspace\u003e -t \u003cbitbucker-user:app-password\u003e -p \u003cnpm-package\u003e\n```\n\n## Usage\n\n```\n$ grt -h\nSearch npm packages in all org/workspace repos. You can set token via env var,\nif public access restricted\n\nOwner:\n  --repo-service, -R  code repository service (github, bitbucket)\n                                                    [string] [default: \"github\"]\n  --user, -u          user name (github)                                [string]\n  --org, -o           org name (github)                                 [string]\n  --workspace, -w     workspace name (bitbucket)                        [string]\n  --repos, -r         repos where search applied                         [array]\n  --token, -t         token to auth. Env var strongly recommented       [string]\n  --token-name, --tn  name of env variable with token. GITHUB_TOKEN /\n                      BITBUCKET_TOKEN by default.                       [string]\n\nNPM package:\n  --package, -p   package to search                                     [string]\n  --deps          disable search in \"dependencies\" package.json field\n                                                       [boolean] [default: true]\n  --dev-deps      disable search in \"devDependencies\" package.json field\n                                                       [boolean] [default: true]\n  --peer-deps     disable search in \"peerDependencies\" package.json field\n                                                       [boolean] [default: true]\n  --yarn-lock     disable search in yarn.lock          [boolean] [default: true]\n  --package-lock  disable search in package-lock.json  [boolean] [default: true]\n\nNode version:\n  --node, -n  search node version based on .nvmrc and package.json engines\n  --nvm       disable search in .nvmrc                 [boolean] [default: true]\n  --engines   disable search in package.json engines   [boolean] [default: true]\n\nOptions:\n  -v, --version     Show version number                                [boolean]\n  --rate-limit, -l  show rate limit\n  --skip-empty      skip repo, if package/node not found\n                                                       [boolean] [default: true]\n  --skip-error      skip repo, if error with such code occured\n                                                  [array] [default: [404,\"404\"]]\n  --raw-json        show output as json without whitespaces\n                                                      [boolean] [default: false]\n  --json            show output as prettified json    [boolean] [default: false]\n  --csv             show output as csv                [boolean] [default: false]\n  --md              show output as markdown table     [boolean] [default: false]\n  -h, --help        Show help                                          [boolean]\n```\n\n## Use in your app\n\n```js\nconst { grt } = require('github-repo-tools');\n\nconst response = await grt({ \n  user: 'lightness',\n  package: 'typescript',\n  yarnLock: false,\n  token: '\u003cGITHUB_TOKEN\u003e',\n});\n```\n\n\u003e TODO: Add more descriptive exmaple","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightness%2Fgithub-repo-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightness%2Fgithub-repo-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightness%2Fgithub-repo-tools/lists"}