You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

zhi-github-middleware

Package Overview
Dependencies
Maintainers
0
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.5.1
Source
npmnpm
Version published
Weekly downloads
11
-26.67%
Maintainers
0
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 26 Dec 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