1.0.2 • Published 4 years ago

github-repo-fetch v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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 fetchGitHubUserData('my-access-token');

License

Project is licensed under MIT license.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago