Check if a GitHub team is empty
npm install --save is-github-team-empty
Set up GITHUB_TOKEN
environment variable with your OAuth GitHub access token.
var isGithubTeamEmpty = require('is-github-team-empty');
isGithubTeamEmpty('1234567').then(function (isEmpty) {
console.log(isEmpty);
//=> true
});
Returns a promise that resolves to a boolean value of whether or not a GitHub team is without members.
Type: string
The ID of the GitHub team.
MIT © Alejandro Beltrán