{"name":"is-git-repository","version":"3.0.0","description":"A tool to check if a specific path is a git repository","type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"scripts":{"test":"vitest run . --coverage --coverage.reporter lcov","lint":"eslint index.js index.spec.js","prettier:check":"prettier --check .","prettier:format":"prettier --write .","coveralls":"cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/JPeer264/node-is-git-repository.git"},"keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^9.5.2"},"devDependencies":{"@eslint/js":"^9.18.0","@vitest/coverage-v8":"^2.1.8","coveralls":"^3.1.1","eslint":"^9.18.0","eslint-config-prettier":"^10.0.1","prettier":"^3.4.2","vitest":"^2.1.8"},"_id":"is-git-repository@3.0.0","gitHead":"284ee8608515921587e68ca17f8e9e112d93dafd","types":"./index.d.ts","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-iCIObmkwkU6b15KB7rltAb60rIRXN4qAjVmBkqry8EWdwcJ9B7KUDCYrLIV2HOHENHYy9bm/MsDHDisoAZrpUg==","shasum":"75af9078e80f3a0ec2648c37ac8ec17ffcc01e9b","tarball":"http://registry-npm.ywwl.com/is-git-repository/download/is-git-repository-3.0.0.tgz","fileCount":9,"unpackedSize":5426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZGmWxU86paOfbsaaIXlY/NhHRx1hat1iPUjyeE+CqMAIhAN0aSTwZ5+gsQ6ZcU37RPWdB1ZJ9PWXLfy7Z6wHBfr32"}],"size":2679,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-3.0.0.tgz"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"directories":{},"maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-git-repository_3.0.0_1736886270514_0.8547612347460214"},"_hasShrinkwrap":false,"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","publish_time":1736886270702,"_cnpm_publish_time":1736886270702,"dist-tags":{"latest":"3.0.0"}}