3.0.0 • Published 10 months ago
is-git-repository v3.0.0
is-git-repository
Checks synchronously if a specific directory is a git repository
Installation
$ npm i is-git-repository --saveUsage
import isGit from "is-git-repository";
isGit(); // true or false of process.cwd()
isGit("any/git/repo"); // true or falseLICENSE
MIT © Jan Peer Stöcklmair