unjs/ungh

`ungh` npm client

pi0 opened this issue · 2 comments

pi0 commented

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

What about configuring Octokit?

import { Octokit } from 'octokit'

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

(Complete API implementation would still be required)

pi0 commented

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)