is-github-team-repos-empty
v1.0.1
Published
Check if a GitHub team repository list is empty
Maintainers
Readme
is-github-team-repos-empty
Check if a GitHub team repository list is empty
Install
npm install --save is-github-team-repos-emptySetup
Set up GITHUB_TOKEN environment variable with your OAuth GitHub access token.
Usage
var isGithubTeamReposEmpty = require('is-github-team-repos-empty');
isGithubTeamReposEmpty('1234567').then(function (isRepoListEmpty) {
console.log(isRepoListEmpty);
//=> true
});API
isGithubTeamReposEmpty(teamId)
Returns a promise that resolves to a boolean value of whether or not a GitHub team repository list is empty.
teamId
Type: string
The ID of the GitHub team.
License
MIT © Alejandro Beltrán
