Search GitHub repositories
MIT License
Search GitHub repositories
$ npm install --save github-search-repos
const githubSearchRepos = require('github-search-repos');
githubSearchRepos('gulp+language:javascript').then(data => {
console.log(data.items);
//=> [{id: 11167738, name: 'gulp', full_name: 'gulpjs/gulp', ...}, ...]
});
Type: string
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.
Type: string
Sort results by either stars
, forks
or updated
. By default, results are sorted by best match.
MIT © Kevin Mårtensson