is-public-repo
v1.0.0
Published
Check if GitHub repository is public
Downloads
3
Readme
is-public-repo
Check if GitHub repository is public
Install
$ npm install is-public-repo
Usage
const isPublicRepo = require('is-public-repo');
await isPublicRepo('vadimdemedes/ink');
//=> true
API
isPublicRepo(url)
url
Type: string
Repository name (vadimdemedes/ink
) or URL (https://github.com/vadimdemedes/ink
).
License
MIT © Vadim Demedes