{"_id":"is-git-repository","_rev":"9-0258e898ce72ec7d91171fd2c1eb681f","name":"is-git-repository","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"is-git-repository","version":"1.0.0","keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","_id":"is-git-repository@1.0.0","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"ava":{"babel":"inherit","require":"babel-register"},"nyc":{"exclude":["build.js"]},"dist":{"shasum":"cdcfa0d4f0bc187e168d51dd1da3e0f21036b2c8","tarball":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-1.0.0.tgz","integrity":"sha512-P9WIhi6xQ5p/EjmXoRAG0texA5sDuokIzX+riBMiDR8pqGRABTbNGKWe3ANcRbh43OdxWqhlCr3xdtwCklnrHQ==","signatures":[{"sig":"MEUCIG8ywHsK2u8bM5CndFDUAq2hFQzLffyswH+LWTDD3XzYAiEA0MGuvgw8/NxlWBVLsYAe7QXiStgnRVtMa9rX5kyM7Mc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build.js","_from":".","_shasum":"cdcfa0d4f0bc187e168d51dd1da3e0f21036b2c8","gitHead":"11d0930ecd75a15bf01ea8232d64047d8342f99b","scripts":{"lint":"eslint index.js","test":"ava","babel":"babel index.js -o build.js","prepush":"npm test","pretest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"repository":{"url":"git+https://github.com/JPeer264/node-is-git-repository.git","type":"git"},"_npmVersion":"3.10.10","description":"A tool to check if a specific path is a git repository","directories":{},"_nodeVersion":"6.10.0","dependencies":{"execa":"^0.6.1"},"devDependencies":{"ava":"^0.18.2","nyc":"^10.1.2","husky":"^0.13.2","eslint":"^3.18.0","babel-cli":"^6.24.0","coveralls":"^2.12.0","babel-preset-env":"^1.2.2","eslint-plugin-import":"^2.2.0","eslint-config-airbnb-base":"^11.1.1"},"_npmOperationalInternal":{"tmp":"tmp/is-git-repository-1.0.0.tgz_1489875584631_0.8083547605201602","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"is-git-repository","version":"1.0.1","keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","_id":"is-git-repository@1.0.1","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"ava":{"babel":"inherit","require":"babel-register"},"dist":{"shasum":"db80512b6ce8db3fa90c84292a7b525e427f5746","tarball":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-1.0.1.tgz","integrity":"sha512-daxtJVi/joXOlStKq3d+I3Q0OXQ9umQ//Jo5vAsl7wTBl6eTU4CDT3RpP02GB0TeHwI4Oh8r8vBkpgfOD1IKCQ==","signatures":[{"sig":"MEYCIQCu469hdhWCyb8e6srtncgmcuLBBjvyUFMFiiiHs5jcBwIhAPU/UwhmmvZfBqELlSvlj5JPYbHW8Ed91+TTjkJncwYk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build.js","_from":".","_shasum":"db80512b6ce8db3fa90c84292a7b525e427f5746","gitHead":"9b14fc39b3b285ed124a687f2bcecd57be58790c","scripts":{"lint":"eslint index.js","test":"nyc ava","babel":"babel index.js -o build.js","prepush":"npm test","pretest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"repository":{"url":"git+https://github.com/JPeer264/node-is-git-repository.git","type":"git"},"_npmVersion":"3.10.10","description":"A tool to check if a specific path is a git repository","directories":{},"_nodeVersion":"6.10.0","dependencies":{"execa":"^0.6.1"},"devDependencies":{"ava":"^0.18.2","nyc":"^10.1.2","husky":"^0.13.2","eslint":"^3.18.0","babel-cli":"^6.24.0","coveralls":"^2.12.0","babel-preset-env":"^1.2.2","eslint-plugin-import":"^2.2.0","eslint-config-airbnb-base":"^11.1.1"},"_npmOperationalInternal":{"tmp":"tmp/is-git-repository-1.0.1.tgz_1490289047635_0.0521122720092535","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"is-git-repository","version":"1.1.0","keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","_id":"is-git-repository@1.1.0","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"ava":{"babel":"inherit","require":"babel-register"},"dist":{"shasum":"f0a81ac957223f7305bc23683dd9871e9c8b1bf6","tarball":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-1.1.0.tgz","integrity":"sha512-IRl3i8E22LxsoKwYUWOx7wg0IDZ8SGIDCaoRgAqs9yleVcgoiOOFv8FEWbIV7GBvZ33JMl5hyufLl2MT5NOx/Q==","signatures":[{"sig":"MEUCIH7oW90X80fqCfwoq7I9wEDrWqq2zOWB3MKR6IFOWZSGAiEAwTx3T8h3eOIcXvqiYCpokm6qk2e7LEcXshuwXGmmhlM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build.js","_from":".","_shasum":"f0a81ac957223f7305bc23683dd9871e9c8b1bf6","gitHead":"ede21c38f14c459ef9663a439f30bffd7e9bb251","scripts":{"lint":"eslint index.js","test":"nyc ava","babel":"babel index.js -o build.js","prepush":"npm test","pretest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"repository":{"url":"git+https://github.com/JPeer264/node-is-git-repository.git","type":"git"},"_npmVersion":"3.10.10","description":"A tool to check if a specific path is a git repository","directories":{},"_nodeVersion":"6.10.0","dependencies":{"execa":"^0.6.1","path-is-absolute":"^1.0.1"},"devDependencies":{"ava":"^0.18.2","nyc":"^10.1.2","husky":"^0.13.2","eslint":"^3.18.0","babel-cli":"^6.24.0","coveralls":"^2.12.0","babel-preset-env":"^1.2.2","eslint-plugin-import":"^2.2.0","eslint-config-airbnb-base":"^11.1.1"},"_npmOperationalInternal":{"tmp":"tmp/is-git-repository-1.1.0.tgz_1493932149103_0.7832550113089383","host":"packages-18-east.internal.npmjs.com"}},"1.1.1":{"name":"is-git-repository","version":"1.1.1","keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","_id":"is-git-repository@1.1.1","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"ava":{"babel":"inherit","require":"babel-register"},"dist":{"shasum":"c68e4b7a806422349aaec488973a90558d7e9be0","tarball":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-1.1.1.tgz","integrity":"sha512-hxLpJytJnIZ5Og5QsxSkzmb8Qx8rGau9bio1JN/QtXcGEFuSsQYau0IiqlsCwftsfVYjF1mOq6uLdmwNSspgpA==","signatures":[{"sig":"MEQCICUJuPe080U2+Q6XFVFHhn6+h2SmO4Vud9FqyrHiznKjAiAhhGCFbN2hxMwgVMOHIuKhnKg77hB29yhTcQaHXj31tA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build.js","_from":".","_shasum":"c68e4b7a806422349aaec488973a90558d7e9be0","gitHead":"3d1e458c8038fa33ddad3d6afff56c96db5fdea4","scripts":{"lint":"eslint index.js","test":"nyc ava","babel":"babel index.js -o build.js","prepush":"npm test","pretest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"repository":{"url":"git+https://github.com/JPeer264/node-is-git-repository.git","type":"git"},"_npmVersion":"3.10.10","description":"A tool to check if a specific path is a git repository","directories":{},"_nodeVersion":"6.10.0","dependencies":{"execa":"^0.6.1","path-is-absolute":"^1.0.1"},"devDependencies":{"ava":"^0.18.2","nyc":"^10.1.2","husky":"^0.13.2","eslint":"^3.18.0","babel-cli":"^6.24.0","coveralls":"^2.12.0","babel-preset-env":"^1.2.2","eslint-plugin-import":"^2.2.0","eslint-config-airbnb-base":"^11.1.1","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/is-git-repository-1.1.1.tgz_1494090504488_0.734004199039191","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"is-git-repository","version":"2.0.0","keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","_id":"is-git-repository@2.0.0","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"dist":{"shasum":"fa036007fe9697198c2c89dac4dd8304a6101e1c","tarball":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-2.0.0.tgz","fileCount":12,"integrity":"sha512-HDO50CG5suIAcmqG4F1buqVXEZRPn+RaXIn9pFKq/947FBo2bCRwK7ZluEVZOy99a4IQyqsjbKEpAiOXCccOHQ==","signatures":[{"sig":"MEQCIBrbwjsMxo78/u3SMF2QS+ZYXeP1XhebAW/qHkn/WOz/AiBkCSRoYLi/UA8Y/AkEcVbxXc6n6TzsD9+U1CvVt/iGzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGdl6CRA9TVsSAnZWagAAWCEP/19dtYaq45fRDNjZ8ZFD\nayc6++Ccf6mf8kl4ta5OGebzWIVwJ00EvgDBoK5wKtRPHiMOXObN2O0mWfiz\n6USTHjFDDG18Cdob2XRDYJItbWosdQYZWRuVVkKZouYacOj58/ypdc5PVsXi\nBgW6i/QVk6hi80lYOXBRCD/1SRZSxF/2KihbzTl5ofg9yOB9B+DkNMS6yuAg\nfAdTGqaDoIdW2un31ND/PJe1r+6xzNB5o5rLxwv6PbbToo56d8h1buevg4zG\nuzlweGFO5GXdQ8cc01lSbpCElDP6sOpASPpVAA+moGt+j4GfQ6b3//yxwZMa\nZ4q39W9hhQvBzWpDpEaYogxyLWH8GvXKzRRAnvShAcyQDS0gU6ZXfa7dtvrJ\nQjbLTqpYID7hTDTPI3dBPZKIilVOexQLymzRoLY5C3IeVAFf2g8XG81wWBCG\nm8ZJhE2iBL7fTTlfdK4mAeG/60RJNoFI/Wph0dpaTJT8uBFg5ibt+kR4Wx8F\nnmqqa9pxEPqT+84YBDvOn0cr3YDeteycyBvpOHyzMj4J52IDOQ1VkAyrrZoT\nQrXQgidvdo8rqzD8Id2KA+I7c/ntC3LDHES0Vm6v15upeaBZNwKW62ctkltE\nCAjd3prL1Qhaw3KhYwVLKAkFHGD2raaekuLmPZxntGJS5vmtq1rfjO1bwvtU\nubki\r\n=uDOI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dest/index.js","husky":{"hooks":{"pre-push":"npm test","pre-commit":"lint-staged"}},"types":"./dest/index.d.ts","gitHead":"2dc323baf76a56783718f1a72f41c3aec354f88e","scripts":{"lint":"eslint index.ts test.spec.ts","test":"jest","build":"rimraf dest && tsc && babel dest -d dest","coveralls":"cat ./coverage/lcov.info | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"repository":{"url":"git+https://github.com/JPeer264/node-is-git-repository.git","type":"git"},"_npmVersion":"6.11.3","description":"A tool to check if a specific path is a git repository","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix"]},"_nodeVersion":"10.17.0","dependencies":{"execa":"^4.0.3","is-absolute":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.1.0","husky":"^4.2.5","eslint":"^7.4.0","rimraf":"^3.0.2","ts-jest":"^26.1.1","coveralls":"^3.1.0","@babel/cli":"^7.10.4","typescript":"^3.9.6","@types/jest":"^26.0.4","@types/uuid":"^8.0.0","lint-staged":"^10.2.11","@types/is-absolute":"^1.0.0","eslint-plugin-import":"^2.22.0","@typescript-eslint/parser":"^3.6.0","eslint-config-airbnb-base":"^14.2.0","babel-plugin-add-module-exports":"^1.0.2","@typescript-eslint/eslint-plugin":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/is-git-repository_2.0.0_1595529593625_0.23716686441595392","host":"s3://npm-registry-packages"}},"3.0.0":{"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":"https://registry.npmjs.org/is-git-repository/-/is-git-repository-3.0.0.tgz","fileCount":9,"unpackedSize":5426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZGmWxU86paOfbsaaIXlY/NhHRx1hat1iPUjyeE+CqMAIhAN0aSTwZ5+gsQ6ZcU37RPWdB1ZJ9PWXLfy7Z6wHBfr32"}]},"_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}},"time":{"created":"2017-03-18T22:19:46.674Z","modified":"2025-01-14T20:24:30.863Z","1.0.0":"2017-03-18T22:19:46.674Z","1.0.1":"2017-03-23T17:10:49.556Z","1.1.0":"2017-05-04T21:09:10.708Z","1.1.1":"2017-05-06T17:08:26.285Z","2.0.0":"2020-07-23T18:39:53.730Z","3.0.0":"2025-01-14T20:24:30.702Z"},"bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","homepage":"https://github.com/JPeer264/node-is-git-repository#readme","keywords":["is","git","repository","repo","is-git","exists"],"repository":{"type":"git","url":"git+https://github.com/JPeer264/node-is-git-repository.git"},"description":"A tool to check if a specific path is a git repository","maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"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","readmeFilename":"README.md","users":{"rocket0191":true}}