Nickel Palladium Manganese
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    github-repospublic

    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

    Keywords

    none

    install

    npm i github-repos

    Downloadsweekly downloads

    24

    version

    0.0.7

    license

    none

    last publish

    collaborators

    • avatar