Negligent Pachinko Machine

    is-github-team-repos-empty

    1.0.1 • Public • Published

    is-github-team-repos-empty

    Check if a GitHub team repository list is empty

    npm version Build Status Test Coverage

    Install

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

    Setup

    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

    Install

    npm i is-github-team-repos-empty

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • alebelcor