GitHub Repo Fetch
Simple TypeScript-based library for fetching basic information related to GitHub user and their public repositories. The
library uses @oktokit/graphql
, a GitHub GraphQL API client.
Use
The library exposes a single method fetchGitHubUserData(token: string)
which accepts user's personal authentication token (learn how to generate it) and returns an object containing user info and list of summarized repository infos.
const userRepos = await ;
License
Project is licensed under MIT license.