GitHub API for Effect
This library provides an easy way to make GitHub API calls.
Usage:
import { GitHub, getFileContents, makeGitHubLayer } from '@effect-use/github'
pipe(
{
owner: 'embedded-insurance',
repo: 'effect-use',
path: 'packages/github/README.md',
},
getFileContents,
Effect.provideLayer(makeGitHubLayer('my-github-token')),
Effect.runPromise
)