Is Repo Determines whether a given path is a Git repository. Uses git rev-parse --is-inside-work-tree. Installation yarn add is-repo# or with npm npm i is-repo Usage Very simple. import isRepo from 'is-repo'; await isRepo(); // defaults to process.cwd()await isRepo('path/to/repo'); // true || false