repocount

Fetch a user's contribution statistics from various platforms

npm install repocount
2 downloads in the last week
5 downloads in the last month

repocount

Fetch a user's contribution statistics from various platforms (currently supports Github).

features

  • supports github
  • supports paginated responses
  • async, so it won't block anything else going on on the page
  • umd

usage

    new repocount
        github: 'myGithubUsername'
    , (repos) ->

        # returns object where each key is the platform and each value is an array of contributions, like so:
        #
        # {
        #     github: [ ... ] 
        # }

building it yourself

npm install
grunt

running the tests

npm install
buster-server
# open the given URL in a browser and press "Capture browser", then:
buster-test
npm loves you