@collected/github-fetch@0.0.3
Works with
•JSR Score100%•This package works with Cloudflare Workers, DenoIt is unknown whether this package works with Node.js, Bun, Browsers




Downloads144/wk
•Published2 years ago (0.0.3)
Load fresh content directly from GitHub
f
fetchGitHubGistContent
Load the latest content from a GitHub Gist.
f
fetchGitHubRepoContent
Loads a particular file’s content from a GitHub repo.
f
fetchGitHubRepoRefs
Does the equivalent of a git fetch to load all the branches from a GitHub repo, including the current HEAD.
f
findBranchInRefs
Looks up a branch from an iterable of refs. This lets you retrieve the branch’s most up-to-date SHA.
f
findHEADInRefs
Looks up the HEAD ref from an iterable of refs. This lets you retrieve the most up-to-date SHA.