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); }); }

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i eeshan-github-getrepos

      Weekly Downloads

      0

      Version

      0.0.1

      License

      BSD

      Last publish

      Collaborators

      • eeshan_vs