is-git-directory
v1.0.0
Published
Checks whether the given directory is git repo.
Downloads
9
Readme
is-git-repo
Check if the given directory is a git repo
Usage
const isGitRepo = require('is-git-repo');
isGitRepo(path).then(result => console.log(result))
License
MIT © Vivek Poddar