We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eece8f6 commit 7d2885dCopy full SHA for 7d2885d
README.md
@@ -2,6 +2,33 @@
2
3
> Check if a git remote repository exists
4
5
+## Installation
6
+
7
+```sh
8
+$ npm i is-git-remote --save
9
+```
10
11
+or
12
13
14
+$ yarn add is-git-remote
15
16
17
+## Usage
18
19
+```js
20
+const isGitRemote = require('is-git-remote'); // import isGitRemote from 'is-git-remote'
21
22
+countGitTags('www.github.com/username/repo-that-exists'); // => true
23
24
+countGitTags('https://www.github.com/username/repo-that-exists'); // => true
25
26
+countGitTags('username/repo-that-exists', 'bitbucket.com'); // => true
27
28
+// automatically checks github if no host is provided
29
+countGitTags('username/repo-that-not-exists'); // => false
30
31
32
## LICENSE
33
34
MIT © Lukas Aichbauer
0 commit comments