Skip to content

kyoz/all-repos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all-repos

Get all github repositories by username

Build Status NPM version XO code style

Install

$ npm install all-repos --save

Usage

const allRepos = require('all-repos');

allRepos('banminkyoz').then(repos => {
  console.log(repos);
}).catch(error => {
  console.log(error);
});

/* Results:

[
  {
    name: 'neovim',
    fullName: 'banminkyoz/neovim',
    description: 'My neovim config XD',
    stars: '1',
    forks: 0,
    forkFrom: '',
    lastUpdated: '3 weeks ago',
    url: 'https://github.com/banminkyoz/neovim'
  },
  ...
]

*/

Related

License

MIT © Kyoz