is-git
check if dir is git directory or not
Install
$ npm install --save is-git
Example
JavaScript
var isGit = ;; // or false ; //true or false ; //true or false
Command Line reference
$ npm install --g git-scope-config$ is-git --path path/to/git/folder
Methods
var isGit = ;; // or false ; //true or false ; //true or false
isGit([path], cb)
Check if current folder is git folder or not
Run Test
npm test
Contribute or Report Issue
For bugs and feature requests, please create an issue.
License
MIT © Yashprit