🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

zhi-github-middleware

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zhi-github-middleware

a middleware for github api

0.4.14
Source
npm
Version published
Weekly downloads
84
250%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

zhi

FAQs

Package last updated on 27 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts