eeshan-github-getrepos

0.0.1 • Public • Published

This module can be used to get the list of user repositories from Github.

Example

github.getRepos('eeshan89', function(repos) { console.log('Eeshan Srivastava has ' + repos.length + ' repos'); //getRepoInfo(repos); })

function getRepoInfo(repos) { repos.forEach(function(repo) { console.log('Name: ' + repo.name); console.log('Description: ' + repo.description); console.log('ID: ' + repo.id); console.log('Watchers: ' + repo.watchers); }); }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i eeshan-github-getrepos

Weekly Downloads

2

Version

0.0.1

License

BSD

Last publish

Collaborators

  • eeshan_vs