repo-exist
v0.0.2
Published
Checks if GitHub repository exist
Downloads
3
Maintainers
Readme
repo-exist
Checks if GitHub repository exist
Install
$ npm install --save repo-exist
Usage
const repoExist = require('repo-exist')
repoExist({ owner: 'bukinoshita', repo: 'repo-exist' })
//=> true
repoExist({ owner: 'bukinoshita', repo: 'not-a-repo' })
//=> false
API
repoExist({ owner, repo })
Returns a promise
.
owner
Type: string
Required
repo
Type: string
Required
Related
- git-synced — 🎐 Keep a fork up to date
- repo-exist — Checks if GitHub repository exist
- gopn — Open GitHub repositories
- is-github-repo — Checks if string is a git repository
- git-url-prettify — Prettify git url
- git-url-uglify — Uglify git url
- del-git-index — Safely delete index.lock of the current project
License
MIT © Bu Kinoshita