Hook
useGhSearchRepos(q: string, params?)
Client method
gh.searchRepos({ q, ...params })
Returns
GitHubPagedResponse<GitHubRepository> (includes totalCount)
Notes
- Query key:
['gh', 'search', 'repos', { q, ...params }]
- Supports GitHub search qualifiers:
language:typescript, user:octocat, stars:>1000
- Disabled when
q is empty
Hook
useGhSearchRepos(q: string, params?)Client method
gh.searchRepos({ q, ...params })Returns
GitHubPagedResponse<GitHubRepository>(includestotalCount)Notes
['gh', 'search', 'repos', { q, ...params }]language:typescript,user:octocat,stars:>1000qis empty