Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

:octocat: Check if a GitHub team is empty

Notifications You must be signed in to change notification settings

alebelcor/is-github-team-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

:octocat: Check if a GitHub team is empty

Resources

Stars

Watchers

Forks

Packages

No packages published