Search GitBub repositories
Install
$ npm install --save github-search-repos
Usage
const githubSearchRepos = ; ;
API
githubSearchRepos(query, [options])
query
Type: string
options
token
Type: string
Token to authenticate with. Use this to increase the request count. Github supports up to 5 unauthenticated request per minute.
If you don't have a token you can generate a new one here.
sort
Type: string
Sort results by either stars
, forks
or updated
. By default, results are sorted by best match.
Related
- github-search-repos-cli - CLI for this module
License
MIT © Kevin Mårtensson