0.0.2 • Published 7 years ago

repo-exist v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

repo-exist Build Status

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

License

MIT © Bu Kinoshita