github-repos

Fetch a user's repository count from Github

github-repos

Fetch a user's repository count from Github

get = require 'github-repos'
 
success = (count) -> ...
error = (err) -> ...
progress = (countSoFar) -> ...
 
(get 'someUserName').then successerrorprogress
(get 'someUserName''myClientId''myClientSecret''requestingUserName').then successerrorprogress
  • Supports ID/Secret oauth2) for higher request volumes
  • Uses promises
  • Supports paginated responses
  • Supports progress for paginated responses
  • Node
  • CommonJS