{"_id":"@axelrindle/is-git-repository","_rev":"3-426da98c8f1e86ece0133f1ae26cf082","name":"@axelrindle/is-git-repository","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@axelrindle/is-git-repository","version":"1.0.0","description":"Test whether a given directory belongs to a git repository.","main":"index.js","scripts":{"lint":"eslint index.js","test":"nyc --reporter=lcov --reporter=text-summary ava"},"repository":{"type":"git","url":"git+https://github.com/axelrindle/node-is-git-repository.git"},"keywords":["git","is-repository","is-git-repository"],"author":{"name":"Axel Rindle","email":"mail@axelrindle.de"},"license":"MIT","bugs":{"url":"https://github.com/axelrindle/node-is-git-repository/issues"},"homepage":"https://github.com/axelrindle/node-is-git-repository#readme","devDependencies":{"ava":"^3.10.1","eslint":"^7.5.0","nyc":"^15.1.0"},"gitHead":"c1134116ab8a637f83db438197846dae87b9de4f","_id":"@axelrindle/is-git-repository@1.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-VDvlDNrpSV5vA83YnBiSroMavv0crH7Y9l3bR3KmvJ2Wy+WxhE38jCBKEcxLIOKIiI86LK0utYdDixAYSsq1VA==","shasum":"32c1ba21624787e9c91946d6903bf3981772ef59","tarball":"https://registry.npmjs.org/@axelrindle/is-git-repository/-/is-git-repository-1.0.0.tgz","fileCount":4,"unpackedSize":4347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHd56CRA9TVsSAnZWagAAxtIP/Algvd4gG5kgjWPugXF/\nZJGtykI9z+U5MSMksWkn02bpxkL19BB0/y1c8x1s1LRgrceX3O8Fzm+EXF5s\nOwWMBqA3+bZfsARt9fCMZbEAC8yizf5AabitBxrXaelx1idLLGP/RaluhozZ\nBKSj3YcWuuZdCyMyq6ABxgvajIAR3Ko+21X8Pkkemb18XRGPJKTzdWXXEKV8\nn11N6r4z0/W1r+RDRV0OaR1f7FpyTBMuF1YZgYwsV7VEo/zE8ytZagfqBMFr\nvAW5spakPMwl9ObM6cCIapff5RIqmHpbNVYD8IH39MZbDA/072NYFgKyx3B+\nEoa4ZP6jp78pZi4TL5Z8ABSRpHcmTLc2xjtn2k7XkuxPnoAAY6yPO6xzjHbr\nIR2GrmBIldCeY/O1bhtxXaz25I45hXeOtwvscZ2FxNNf3zWz9KGFSpi/PNfZ\n5UV7Gdy9O99JkxL6kIwv3TJHTjPUu21fI1QtLdCOxk36cSND7S5MXJoD+Iaf\neurFRb96ppuUGTiYL8/Ag80h7XSUn1HInaaOvYVn3ibFTTZP0PxlEADblMxb\nDrpgPUk9JdN5yvwc7BnVLJVlkdgOE/40VdGene3S9FXGaDNThK/BF1U+fnOO\n7ypgvd3iupmwFVW6TfuYC7dWj+UPbxdfpHph3eGYwbdZHBBOVyWUo02L/yhs\nilYw\r\n=CXH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAsdm5+1vHJzqmznlH93aYx44XWZUS/SztqEpqFv2WgAiEA2gxLRMNjAFXAbomF1kcLZNaEkCTX9DVjve0ALNA/uMQ="}]},"maintainers":[{"name":"axelrindle","email":"mail@axelrindle.de"}],"_npmUser":{"name":"axelrindle","email":"mail@axelrindle.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-git-repository_1.0.0_1595793018250_0.6966661361253106"},"_hasShrinkwrap":false},"1.0.1":{"name":"@axelrindle/is-git-repository","version":"1.0.1","description":"Test whether a given directory belongs to a git repository.","main":"index.js","scripts":{"lint":"eslint index.js","test":"nyc --reporter=lcov --reporter=text-summary ava"},"repository":{"type":"git","url":"git+https://github.com/axelrindle/node-is-git-repository.git"},"keywords":["git","is-repository","is-git-repository"],"author":{"name":"Axel Rindle","email":"mail@axelrindle.de"},"license":"MIT","bugs":{"url":"https://github.com/axelrindle/node-is-git-repository/issues"},"homepage":"https://github.com/axelrindle/node-is-git-repository#readme","devDependencies":{"ava":"^3.15.0","eslint":"^7.28.0","nyc":"^15.1.0"},"gitHead":"b0cb759ced586e3f4cd3a67493e84ed7e0cdc247","_id":"@axelrindle/is-git-repository@1.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-OZTbAcqcCtbfzhgpEMvdgVlznYXBwNnLtmjNVpTFpcjN0t++NqRduUkL0YrxYv1xH8lDhdJD5P6ZjrF5sJyjzQ==","shasum":"2df847d819def6e9fa2a383979b661964e2e24b7","tarball":"https://registry.npmjs.org/@axelrindle/is-git-repository/-/is-git-repository-1.0.1.tgz","fileCount":4,"unpackedSize":4348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxHNsCRA9TVsSAnZWagAAHloP/30tKWIANoO1meg6wryf\nlw78ASas9Mwyc19wJaiYc6op8UYsKgRjcd7QJMFOZDbrKId2aKYVErE29uRo\nrVDiFLuvLJGxJHHzl9MR6PNd1E8alb5kSiTXa85NeZcRWla0Nk+8xXiFOljG\nHexxmA6pEetZCa4718BQOZonD28IfIKgD/D2z0FFaYkWUYHnGQtoc4iPYgYE\nBL/mEfVf45fyRcKPitx9E9lV9vQUZqzfsQgq0iHRl8k62VUazVCJd7U4LSl0\nN1XleMDsFlgs6rGKBuDKjoR7HtpKqdNWYzDJG+h8daBQJ9p997BrztpHXCqL\nel5YQXaYjjukEWdYMDPvFBRPWOT6kSNAoChyUwHQYadIo0m4nqRgordzhaKs\nHJ03qrbk3Tsgim3XtK48B4rwscprmFCJ0Re2r30S/nMGL5V1wwtFyjjO8A0N\nlp7j0cs6Zg8+04d71/KXs/A9gZAuV6XAh8LZQ9Wc2nSsxoSyw+LOx8BjSjjn\nijGIrOtSfwrPwPtV205NKI3QVk7lEh4Obj9tbxSasXMvKTdN6ZhRm07/rQ6h\n1KJ4lnxT3Ije/kTLZzxCH4I+9vdPj+yGyNPGVAIX2wwF8AVjA9eIUrtYRfHo\n93wMiAo6d6IASZw92z8FcWeJGNTOLwSsmUFMoEJGbMmVFZbr3li425IRpK1a\nerz9\r\n=VIW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGb8Hkq+Mk/yiEfB0+QEsThWcDBAyuSw2P+v+uercyLQIhAInVdNeePBBDCVctlejTpq59jDcr32+S+L2H0Hj3Lpa9"}]},"_npmUser":{"name":"axelrindle","email":"mail@axelrindle.de"},"directories":{},"maintainers":[{"name":"axelrindle","email":"mail@axelrindle.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-git-repository_1.0.1_1623487340260_0.43208131462239074"},"_hasShrinkwrap":false},"2.0.0":{"name":"@axelrindle/is-git-repository","version":"2.0.0","description":"Test whether a given directory belongs to a git repository.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint index.js","test":"nyc --reporter=lcov --reporter=text-summary ava"},"repository":{"type":"git","url":"git+https://github.com/axelrindle/node-is-git-repository.git"},"keywords":["git","is-repository","is-git-repository"],"author":{"name":"Axel Rindle","email":"mail@axelrindle.de"},"license":"MIT","bugs":{"url":"https://github.com/axelrindle/node-is-git-repository/issues"},"homepage":"https://github.com/axelrindle/node-is-git-repository#readme","devDependencies":{"ava":"^4.1.0","eslint":"^8.12.0","nyc":"^15.1.0"},"gitHead":"2f194f51544dfd131f76d3d8eb256a34a169e99d","_id":"@axelrindle/is-git-repository@2.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Ut2+sTI71MPLs7CtSvT9/unlNBK/h31XXmKJAFpoa+LZTF6C4mklHuU/37C7gU7oZMhLfli7dRBzjy6RXJceMg==","shasum":"cd11cea2031a52a79b1938276b023e997391c63d","tarball":"https://registry.npmjs.org/@axelrindle/is-git-repository/-/is-git-repository-2.0.0.tgz","fileCount":6,"unpackedSize":5192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqYcsRTtRuYu/G+yotxU43LlOGZnwPNvbt5ub8lImO5AiAL2kcT4c9757BM8ut47p6auXyGuR3Rnrgyx8XTPrAtxA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSYBEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrrcw//SGFhM1aKhMJG5LuIcgb4lzLkPog462LccM+CoZmz7FowIqD+\r\nHD2xPJ6AZLO6PBzxuoWnvf+lcqYsfSmdNLqOb/EhkhH6Zs4j0c3DbtAApDKT\r\nj0UNpV0ml3HuBSj1fJ4JDMCu1SMGhbYXc30OQjZqOT+JhPF0/GURGVS7E1gU\r\naWf2AjIcLCC+Pn/0cCqHZYlQSmwmsyvTpXaTarYmKuZ54WdQP0/Z4RMwYlJo\r\ney9ZNJHoJN553WkWkJX0IvmtrmzKG13Whiw35TIuZbMJjS4o5rITfGqB1i96\r\nAB13DyCeiNOcYnQ3S6ctzgIsilffYVtugzJWobbHLZ8d6lU9IE670pzQbDor\r\n3g7t19r/POp9dOv5Oqp+ImIB7lvrpxwjQasbbxGB1t7CLxKtQADq/WmTpAVR\r\nohQfn40icoTyChAfCYFOLiEs0WWQOgUSYlTNdV718t0OLhxoaET1yyoRJn3q\r\nBwzaj0pe6FsodeESv9eXVJWaqgV2RZl3YuBEhsFUTi7Am43PWYDhaDcumPPf\r\nbYOfP+CecTacowopIZWYtWGXF/Y98lDP+ju0GPIZ0J6AJTyp++kUccAvqNdz\r\nsgSeuRnDWgWmaTsDqU1kgEpL23BRmRoIcKkYAQDvg60zJWDhBzEWSX3jDTBi\r\nfgw0fbdWL1ygo26NPfD5tAhL5y331Swe8Tk=\r\n=H+Hz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"axelrindle","email":"mail@axelrindle.de"},"directories":{},"maintainers":[{"name":"axelrindle","email":"mail@axelrindle.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-git-repository_2.0.0_1648984132050_0.5438728935996062"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-26T19:50:18.201Z","1.0.0":"2020-07-26T19:50:18.411Z","modified":"2022-04-04T17:09:04.159Z","1.0.1":"2021-06-12T08:42:20.381Z","2.0.0":"2022-04-03T11:08:52.417Z"},"maintainers":[{"name":"axelrindle","email":"mail@axelrindle.de"}],"description":"Test whether a given directory belongs to a git repository.","homepage":"https://github.com/axelrindle/node-is-git-repository#readme","keywords":["git","is-repository","is-git-repository"],"repository":{"type":"git","url":"git+https://github.com/axelrindle/node-is-git-repository.git"},"author":{"name":"Axel Rindle","email":"mail@axelrindle.de"},"bugs":{"url":"https://github.com/axelrindle/node-is-git-repository/issues"},"license":"MIT","readme":"![CI](https://github.com/axelrindle/node-is-git-repository/workflows/CI/badge.svg)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/24cdb7ac29974d25ba4a8201b89291ac)](https://www.codacy.com/manual/axelrindle/node-is-git-repository?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=axelrindle/node-is-git-repository&amp;utm_campaign=Badge_Grade)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/24cdb7ac29974d25ba4a8201b89291ac)](https://www.codacy.com/manual/axelrindle/node-is-git-repository?utm_source=github.com&utm_medium=referral&utm_content=axelrindle/node-is-git-repository&utm_campaign=Badge_Coverage)\n\n# node-is-git-repository\n\nNode.JS package for testing whether a given directory belongs to a git repository.\n\n## Installation\n\n```bash\n$ npm i @axelrindle/is-git-repository\n```\n\n## Usage\n\n```js\nconst isGitRepository = require('@axelrindle/is-git-repository');\n\n(async () => {\n  await isGitRepository(); // fails when not in a valid git repository\n  // ...\n})();\n\n```\n\n[Check the wiki](https://github.com/axelrindle/node-is-git-repository/wiki/API) for a full API overview.\n\n## License\n[MIT](LICENSE)\n","readmeFilename":"README.md"}