{"id":16092385,"url":"https://github.com/bukinoshita/is-github-repo","last_synced_at":"2026-02-04T18:02:28.942Z","repository":{"id":38552010,"uuid":"95152405","full_name":"bukinoshita/is-github-repo","owner":"bukinoshita","description":"Checks if string is a git repository","archived":false,"fork":false,"pushed_at":"2023-01-03T23:22:58.000Z","size":728,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T19:39:56.524Z","etag":null,"topics":["checker","git","github","javascript","node","nodejs","repository"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bukinoshita.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-22T20:08:35.000Z","updated_at":"2025-08-27T12:13:12.000Z","dependencies_parsed_at":"2023-02-01T13:17:18.666Z","dependency_job_id":null,"html_url":"https://github.com/bukinoshita/is-github-repo","commit_stats":null,"previous_names":["bukinoshita/is-git-repository"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bukinoshita/is-github-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fis-github-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fis-github-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fis-github-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fis-github-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bukinoshita","download_url":"https://codeload.github.com/bukinoshita/is-github-repo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fis-github-repo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29092721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["checker","git","github","javascript","node","nodejs","repository"],"created_at":"2024-10-09T16:07:47.375Z","updated_at":"2026-02-04T18:02:28.926Z","avatar_url":"https://github.com/bukinoshita.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-github-repo [![Build Status](https://travis-ci.org/bukinoshita/is-github-repo.svg?branch=master)](https://travis-ci.org/bukinoshita/is-github-repo)\n\n\u003e Checks if string is a git repository\n\n## Install\n\n```\n$ yarn add is-github-repo\n```\n\n## Usage\n\n```js\nconst isGithubRepo = require('is-github-repo')\n\n/* with HTTPS */\nisGithubRepo('https://github.com/bukinoshita/is-github-repo.git')\n// =\u003e true\n\n/* with SSH */\nisGithubRepo('git@github.com:bukinoshita/is-github-repo.git')\n// =\u003e true\n\n/* with owner/repo */\nisGithubRepo('bukinoshita/is-github-repo')\n// =\u003e true\n```\n\n## API\n\n### isGithubRepo(repo)\n\nreturns a `boolean`.\n\n#### repo\n\nType: `string`\u003cbr/\u003e\nRequired\n\n## Related\n\n- [git-synced](https://github.com/bukinoshita/git-synced) — 🎐 Keep a fork up to date\n- [del-git-index](https://github.com/bukinoshita/del-git-index) — Safely delete index.lock of the current project\n- [repo-exist](https://github.com/bukinoshita/repo-exist) — Checks if GitHub repository exist\n- [gopn](https://github.com/bukinoshita/gopn) — Open GitHub repositories\n- [is-github-rify](https://github.com/bukinoshita/git-url-uglify) — Uglify git url\n- [git-url-prettify](https://github.com/bukinoshita/git-url-prettify) — Prettify git url\n\n## License\n\nMIT © [Bu Kinoshita](https://bukinoshita.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fis-github-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbukinoshita%2Fis-github-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fis-github-repo/lists"}