Return a random repo from the ones starred by you.
$ npm install --save random-starred-repo
const random = require('random-starred-repo')
random('egoist')
.then(repo => {
console.log(repo)
//=> {name: 'react', id: ..., owner: ...}
})
Type: string
GitHub username
Type: string
GitHub private token.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D