{"id":23073545,"url":"https://github.com/vivekimsit/is-git-repo","last_synced_at":"2026-05-10T05:02:53.512Z","repository":{"id":57277242,"uuid":"89477351","full_name":"vivekimsit/is-git-repo","owner":"vivekimsit","description":"Checks if given directory is git repository","archived":false,"fork":false,"pushed_at":"2017-04-28T13:33:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T12:17:10.061Z","etag":null,"topics":["git","learning-by-doing","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/vivekimsit.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-04-26T12:18:46.000Z","updated_at":"2017-04-27T06:52:02.000Z","dependencies_parsed_at":"2022-09-17T10:10:47.044Z","dependency_job_id":null,"html_url":"https://github.com/vivekimsit/is-git-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vivekimsit/is-git-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekimsit%2Fis-git-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekimsit%2Fis-git-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekimsit%2Fis-git-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekimsit%2Fis-git-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vivekimsit","download_url":"https://codeload.github.com/vivekimsit/is-git-repo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekimsit%2Fis-git-repo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270955823,"owners_count":24674919,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["git","learning-by-doing","nodejs"],"created_at":"2024-12-16T08:18:13.792Z","updated_at":"2026-05-10T05:02:48.478Z","avatar_url":"https://github.com/vivekimsit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-git-repo [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![Build Status](https://travis-ci.org/vivekimsit/is-git-repo.svg?branch=master)](https://travis-ci.org/vivekimsit/is-git-repo)\n\n\u003e Check if the given directory is a git repo\n\n\n## Usage\n\n```js\nconst isGitDir = require('is-git-directory');\n\nisGitDir(path).then(result =\u003e console.log(result))\n```\n\n## License\n\nMIT © [Vivek Poddar](http://github.com/vivekimsit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivekimsit%2Fis-git-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivekimsit%2Fis-git-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivekimsit%2Fis-git-repo/lists"}