Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyoz/all-repos
Get all github repositories by username
https://github.com/kyoz/all-repos
api github-api github-repos github-repository javascript node node-module
Last synced: 20 days ago
JSON representation
Get all github repositories by username
- Host: GitHub
- URL: https://github.com/kyoz/all-repos
- Owner: kyoz
- License: mit
- Created: 2018-07-22T10:21:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-22T11:02:00.000Z (over 6 years ago)
- Last Synced: 2024-11-21T08:39:53.022Z (about 1 month ago)
- Topics: api, github-api, github-repos, github-repository, javascript, node, node-module
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# all-repos
> Get all github repositories by username
[![Build Status](https://travis-ci.org/banminkyoz/all-repos.svg?branch=master)](https://travis-ci.org/banminkyoz/all-repos) [![NPM version](https://badge.fury.io/js/all-repos.svg)](http://badge.fury.io/js/all-repos) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
## Install
```
$ npm install all-repos --save
```## Usage
```js
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
- [all-repos-cli](https://github.com/banminkyoz/all-repos-cli) - CLI for this module
## License
MIT © [Kyoz](mailto:[email protected])