@buurman-feature-detectors/git
Detects if git
is installed to this current project.
Installing
npm i @buurman-feature-detectors/git
Usage
import isGitRepository from "@buurman-feature-detectors/git";
isGitRepository().then(installed => {
if (installed) {
return;
}
console.log("git is not installed");
});