sgr

sort-github-repositories

Getting and sorting users github repositories

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

sort-github-repositories Build Status

Install

$ npm install sort-github-repositories

Usage

const sortRepos = require('sort-github-repositories');

sortGithubRepos('maxvcode', 'created_at').then(data => {
  console.log(data);
  // [ { id: 95045428,name: 'javascript-guessing-game',full_name: 'maxvcode/javascript-guessing-game',owner: { lo...}, ...]
});

// descending sort 
sortGithubRepos('maxvcode', '-created_at').then(data => {
  // use data
});


API

sortRepos(username, [sortField])

username

Type: string

GitHub username.

options

sortField

Type: string

Field to sort by. Optional fields can be seen HERE in the Response object.

Constructed with the help of

License

MIT © Max Voronov

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial