github-repos

Fetch a user's repository count from Github

npm install github-repos
12 downloads in the last week
19 downloads in the last month

github-repos

Build Status Fetch a user's repository count from Github

Usage

get = require 'github-repos'

success = (count) -> ...
error = (err) -> ...
progress = (countSoFar) -> ...

(get 'someUserName').then success, error, progress

Usage (with oauth)

(get 'someUserName', 'myClientId', 'myClientSecret', 'requestingUserName').then success, error, progress

Features

  • Supports ID/Secret oauth2) for higher request volumes
  • Uses promises
  • Supports paginated responses
  • Supports progress for paginated responses

Supported environments

  • Node
  • CommonJS
npm loves you