github-repos

0.0.7 • Public • Published

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 successerrorprogress

Usage (with oauth)

(get 'someUserName''myClientId''myClientSecret''requestingUserName').then successerrorprogress

Features

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

Supported environments

  • Node
  • CommonJS

Dependents (1)

Package Sidebar

Install

npm i github-repos

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • bcherny