igr

is-git-repository

A tool to check if a specific location is a git repository

Showing:

Popularity

Downloads/wk

84.5K

GitHub Stars

6

Maintenance

Last Commit

1yr ago

Contributors

1

Package

Dependencies

2

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

is-git-repository

Build Status Build status Coverage Status

Checks synchronously if a specific directory is a git repository

Installation

$ npm i is-git-repository --save

or

$ yarn add is-git-repository

Usage

const isGit = require('is-git-repository');

isGit(); // true or false of process.cwd()
isGit('any/git/repo'); // true or false

LICENSE

MIT © Jan Peer Stöcklmair

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial