1.1.2 • Published 8 years ago

is-github-team-empty v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

is-github-team-empty

Check if a GitHub team is empty

npm version Build Status Test Coverage

Install

npm install --save is-github-team-empty

Setup

Set up GITHUB_TOKEN environment variable with your OAuth GitHub access token.

Usage

var isGithubTeamEmpty = require('is-github-team-empty');

isGithubTeamEmpty('1234567').then(function (isEmpty) {
  console.log(isEmpty);
  //=> true
});

API

isGithubTeamEmpty(teamId)

Returns a promise that resolves to a boolean value of whether or not a GitHub team is without members.

teamId

Type: string

The ID of the GitHub team.

License

MIT © Alejandro Beltrán