{"id":20395413,"url":"https://github.com/jpeer264/node-is-git-repository","last_synced_at":"2025-04-12T12:24:46.598Z","repository":{"id":39621451,"uuid":"85431854","full_name":"JPeer264/node-is-git-repository","owner":"JPeer264","description":"A tool to check if a specific location is a git repository","archived":false,"fork":false,"pushed_at":"2023-03-03T14:52:09.000Z","size":1220,"stargazers_count":8,"open_issues_count":13,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T21:46:48.213Z","etag":null,"topics":["git","is-git","nodejs","repo","repository"],"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/JPeer264.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-03-18T21:02:12.000Z","updated_at":"2023-03-04T06:11:22.000Z","dependencies_parsed_at":"2024-02-04T21:08:03.518Z","dependency_job_id":"c2e32b1b-cb62-41f6-9ea7-302f381252fc","html_url":"https://github.com/JPeer264/node-is-git-repository","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"2dc323baf76a56783718f1a72f41c3aec354f88e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-is-git-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-is-git-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-is-git-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-is-git-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JPeer264","download_url":"https://codeload.github.com/JPeer264/node-is-git-repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565664,"owners_count":21125536,"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":["git","is-git","nodejs","repo","repository"],"created_at":"2024-11-15T03:57:25.794Z","updated_at":"2025-04-12T12:24:46.577Z","avatar_url":"https://github.com/JPeer264.png","language":"JavaScript","readme":"# is-git-repository\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/JPeer264/node-is-git-repository/ci.yml?branch=main)](https://github.com/JPeer264/node-is-git-repository/actions/workflows/ci.yml?query=branch%3Amain)\n[![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=main)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=main)\n\nChecks synchronously if a specific directory is a git repository\n\n## Installation\n\n```sh\n$ npm i is-git-repository --save\n```\n\n## Usage\n\n```js\nimport isGit from \"is-git-repository\";\n\nisGit(); // true or false of process.cwd()\nisGit(\"any/git/repo\"); // true or false\n```\n\n## LICENSE\n\nMIT © [Jan Peer Stöcklmair](https://www.jpeer.at)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpeer264%2Fnode-is-git-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpeer264%2Fnode-is-git-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpeer264%2Fnode-is-git-repository/lists"}