zhi-github-middleware
v0.5.0
Published
a middleware for github api
Downloads
40
Readme
zhi-github-middleware
a middleware for github api
Usage
// usage
import { CommonGithubClient } from "zhi-github-middleware"
const githubConfig = new GithubConfig("terwer", "hexo-blog", "")
const commonGithubClient = new CommonGithubClient(githubConfig)
const result = await commonGithubClient.getGithubPageTreeNode("")
Deps
@octokit/core
js-base64
Dev
pnpm dev -F zhi-github-middleware
Build
pnpm build -F zhi-github-middleware
Test
Execute the unit tests via vitest
pnpm test -F zhi-github-middleware
Publish
pnpm publish -F zhi-github-middleware --tag latest