Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ungh npm client #4

Open
pi0 opened this issue Nov 7, 2022 · 2 comments
Open

ungh npm client #4

pi0 opened this issue Nov 7, 2022 · 2 comments

Comments

@pi0
Copy link
Member

pi0 commented Nov 7, 2022

Using ungh NPM client, we can have full type support and possibly even client-side in-memory cache.

@ineshbose
Copy link

What about configuring Octokit?

import { Octokit } from 'octokit'

const ungh = new Octokit({ baseUrl: 'https://ungh.cc' })

(Complete API implementation would still be required)

@pi0
Copy link
Member Author

pi0 commented Jan 24, 2023

Yes compatible impl would be required also ungh types are simplified and normalized. We shall directly use ofetch to build a type-safe client. (pending unjs/ofetch#371)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants