https://github.com/molnarmark/github-repo-exists
👊 A Promise based library to check if a GitHub repo exists
https://github.com/molnarmark/github-repo-exists
github github-repo-exists github-repos github-repository nodejs npm repository
Last synced: 4 months ago
JSON representation
👊 A Promise based library to check if a GitHub repo exists
- Host: GitHub
- URL: https://github.com/molnarmark/github-repo-exists
- Owner: molnarmark
- License: mit
- Created: 2018-04-02T08:07:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T08:31:16.000Z (almost 8 years ago)
- Last Synced: 2025-03-06T04:56:38.611Z (11 months ago)
- Topics: github, github-repo-exists, github-repos, github-repository, nodejs, npm, repository
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-repo-exists
[](https://github.com/ellerbrock/open-source-badge/)
[](https://github.com/ellerbrock/open-source-badge/)
[](http://makeapullrequest.com)

A *tiny* promise based library to check if a GitHub repository exists.
## Usage
```javascript
const repoExists = require('github-repo-exists');
repoExists('molnarmark/nimism.co').then(result => console.log(result));
//=> true
repoExists('molnarmark/does-not-exist').then(result => console.log(result));
//=> false
```
## License
- MIT