github-yearly-contributions

0.3.1 • Public • Published

Github Yearly Contributions

As Github's API does not provide a means to check the number of contributions within a year for a given user, this module works around that by scraping the information off said users profile page.

Installation

npm install --save github-yearly-contributions

Usage

function(username, [timeout], cb)

const contributions = require('github-yearly-contributions');

contributions('username', function(err, amount){
  console.log('Contributions this year = ' + amount);  
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.2
    2
    • old-version
  • 0.3.1
    1
    • latest

Version History

Package Sidebar

Install

npm i github-yearly-contributions

Weekly Downloads

5

Version

0.3.1

License

ISC

Last publish

Collaborators

  • andyrichardson