{"_id":"is-git-repository","_rev":"360412","name":"is-git-repository","description":"A tool to check if a specific path is a git repository","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"time":{"modified":"2021-07-13T08:48:43.000Z","created":"2017-03-18T22:19:46.674Z","2.0.0":"2020-07-23T18:39:53.730Z","1.1.1":"2017-05-06T17:08:26.285Z","1.1.0":"2017-05-04T21:09:10.708Z","1.0.1":"2017-03-23T17:10:49.556Z","1.0.0":"2017-03-18T22:19:46.674Z"},"users":{"rocket0191":true},"author":{"name":"Jan Peer Stöcklmair"},"repository":{"type":"git","url":"git+https://github.com/JPeer264/node-is-git-repository.git"},"versions":{"2.0.0":{"name":"is-git-repository","version":"2.0.0","description":"A tool to check if a specific path is a git repository","main":"./dest/index.js","types":"./dest/index.d.ts","scripts":{"test":"jest","lint":"eslint index.ts test.spec.ts","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rimraf dest && tsc && babel dest -d dest","prepublishOnly":"npm run build"},"husky":{"hooks":{"pre-push":"npm test","pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts}":["eslint --fix"]},"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":"^4.0.3","is-absolute":"^1.0.0"},"devDependencies":{"@babel/cli":"^7.10.4","@types/is-absolute":"^1.0.0","@types/jest":"^26.0.4","@types/uuid":"^8.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-plugin-add-module-exports":"^1.0.2","coveralls":"^3.1.0","eslint":"^7.4.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.0","husky":"^4.2.5","jest":"^26.1.0","lint-staged":"^10.2.11","rimraf":"^3.0.2","ts-jest":"^26.1.1","typescript":"^3.9.6"},"gitHead":"2dc323baf76a56783718f1a72f41c3aec354f88e","_id":"is-git-repository@2.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"fa036007fe9697198c2c89dac4dd8304a6101e1c","size":3398,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-git-repository/download/is-git-repository-2.0.0.tgz"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-git-repository_2.0.0_1595529593625_0.23716686441595392"},"_hasShrinkwrap":false,"publish_time":1595529593730,"_cnpm_publish_time":1595529593730},"1.1.1":{"name":"is-git-repository","version":"1.1.1","description":"A tool to check if a specific path is a git repository","main":"build.js","scripts":{"pretest":"npm run lint","test":"nyc ava","lint":"eslint index.js","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel","babel":"babel index.js -o build.js","prepush":"npm test"},"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"},"ava":{"require":"babel-register","babel":"inherit"},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^0.6.1","path-is-absolute":"^1.0.1"},"devDependencies":{"ava":"^0.18.2","babel-cli":"^6.24.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-env":"^1.2.2","coveralls":"^2.12.0","eslint":"^3.18.0","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","husky":"^0.13.2","nyc":"^10.1.2"},"gitHead":"3d1e458c8038fa33ddad3d6afff56c96db5fdea4","_id":"is-git-repository@1.1.1","_shasum":"c68e4b7a806422349aaec488973a90558d7e9be0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"dist":{"shasum":"c68e4b7a806422349aaec488973a90558d7e9be0","size":39156,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-git-repository/download/is-git-repository-1.1.1.tgz"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-git-repository-1.1.1.tgz_1494090504488_0.734004199039191"},"directories":{},"publish_time":1494090506285,"_hasShrinkwrap":false,"_cnpm_publish_time":1494090506285},"1.1.0":{"name":"is-git-repository","version":"1.1.0","description":"A tool to check if a specific path is a git repository","main":"build.js","scripts":{"pretest":"npm run lint","test":"nyc ava","lint":"eslint index.js","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel","babel":"babel index.js -o build.js","prepush":"npm test"},"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"},"ava":{"require":"babel-register","babel":"inherit"},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^0.6.1","path-is-absolute":"^1.0.1"},"devDependencies":{"ava":"^0.18.2","babel-cli":"^6.24.0","babel-preset-env":"^1.2.2","coveralls":"^2.12.0","eslint":"^3.18.0","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","husky":"^0.13.2","nyc":"^10.1.2"},"gitHead":"ede21c38f14c459ef9663a439f30bffd7e9bb251","_id":"is-git-repository@1.1.0","_shasum":"f0a81ac957223f7305bc23683dd9871e9c8b1bf6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"dist":{"shasum":"f0a81ac957223f7305bc23683dd9871e9c8b1bf6","size":39032,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-git-repository/download/is-git-repository-1.1.0.tgz"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-git-repository-1.1.0.tgz_1493932149103_0.7832550113089383"},"directories":{},"publish_time":1493932150708,"_hasShrinkwrap":false,"_cnpm_publish_time":1493932150708},"1.0.1":{"name":"is-git-repository","version":"1.0.1","description":"A tool to check if a specific path is a git repository","main":"build.js","scripts":{"pretest":"npm run lint","test":"nyc ava","lint":"eslint index.js","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel","babel":"babel index.js -o build.js","prepush":"npm test"},"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"},"ava":{"require":"babel-register","babel":"inherit"},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^0.6.1"},"devDependencies":{"ava":"^0.18.2","babel-cli":"^6.24.0","babel-preset-env":"^1.2.2","coveralls":"^2.12.0","eslint":"^3.18.0","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","husky":"^0.13.2","nyc":"^10.1.2"},"gitHead":"9b14fc39b3b285ed124a687f2bcecd57be58790c","_id":"is-git-repository@1.0.1","_shasum":"db80512b6ce8db3fa90c84292a7b525e427f5746","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"dist":{"shasum":"db80512b6ce8db3fa90c84292a7b525e427f5746","size":39437,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-git-repository/download/is-git-repository-1.0.1.tgz"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-git-repository-1.0.1.tgz_1490289047635_0.0521122720092535"},"directories":{},"publish_time":1490289049556,"_cnpm_publish_time":1490289049556,"_hasShrinkwrap":false},"1.0.0":{"name":"is-git-repository","version":"1.0.0","description":"A tool to check if a specific path is a git repository","main":"build.js","scripts":{"pretest":"npm run lint","test":"ava","lint":"eslint index.js","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run babel","babel":"babel index.js -o build.js","prepush":"npm test"},"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"},"ava":{"require":"babel-register","babel":"inherit"},"nyc":{"exclude":["build.js"]},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^0.6.1"},"devDependencies":{"ava":"^0.18.2","babel-cli":"^6.24.0","babel-preset-env":"^1.2.2","coveralls":"^2.12.0","eslint":"^3.18.0","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","husky":"^0.13.2","nyc":"^10.1.2"},"gitHead":"11d0930ecd75a15bf01ea8232d64047d8342f99b","_id":"is-git-repository@1.0.0","_shasum":"cdcfa0d4f0bc187e168d51dd1da3e0f21036b2c8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"dist":{"shasum":"cdcfa0d4f0bc187e168d51dd1da3e0f21036b2c8","size":39089,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-git-repository/download/is-git-repository-1.0.0.tgz"},"maintainers":[{"name":"jpeer","email":"jan.oster94@gmail.com"},{"name":"npm:jpeer","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-git-repository-1.0.0.tgz_1489875584631_0.8083547605201602"},"directories":{},"publish_time":1489875586674,"_cnpm_publish_time":1489875586674,"_hasShrinkwrap":false}},"readme":"# is-git-repository\n\n[![Build Status](https://travis-ci.com/JPeer264/node-is-git-repository.svg?branch=main)](https://travis-ci.com/JPeer264/node-is-git-repository)\n[![Build status](https://ci.appveyor.com/api/projects/status/candvk0h292r03q2?svg=true)](https://ci.appveyor.com/project/JPeer264/node-is-git-repository)\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```\nor\n```sh\n$ yarn add is-git-repository\n```\n\n## Usage\n\n```js\nconst isGit = require('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","_attachments":{},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"license":"MIT"}