open-index/open-npm huggingface dataset:
npm package: @hazel-plus/hooks
Description: ```bash # install npm install @hazel-plus/hooks
Latest version: 0.1.0

# @hazel-plus/hooks

```bash
# install
npm install @hazel-plus/hooks

# usage
import { useRequest } from '@hazel-plus/hooks'
```

See the [document](https://hongaah.github.io/hazel-plus/hooks/useRequest/) for more detail
npm package: @hazelee/refetch
Description: Enhanced fetch API inspired from r2.
Author: Haze Lee
Latest version: 1.1.5

# Refetch

Refetch is Simple HTTP Client by [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). And Heavily inspired from [r2](https://github.com/mikeal/r2).

## Usage
```
npm install --save @hazelee/refetch
```

```ts
import refetch from '@hazelee/refetch'

// in async function...
const result = await refetch('https://api.github.com/repos/hazealign/refetch', { method: 'get' }).json()
const result2 = await refetch.get('https://api.github.com/repos/hazealign/refetch').json()

// Put URL Search Parameter (Query) in Options.
// It doesn't supports in fetch API's standard.
const myIp = await refetch('https://api.ipify.org', {
  query: { format: 'json' },
  // query: '?format=json',
  // query: new URLSearchParams(),
}).json()
```

## Changelogs

### v1.1.0 (2020-07-10)
 - Update Latest Dependencies.
 - Save Response Data in `PartialResponse` when evaluating same `refetch` function.
   ```ts
    const base = refetch('https://api.github.com/repos/hazealign/refetch', { method: 'get' })

    const text = await base.text()
    // already Response result is cached in PartialResponse. ;)
    const json = await base.json()
   ```
 - Support `query` parameter in options. No more create URL instance and URLSearchParams instance. ;)

## Why?

R2 is awesome project. But it isn't friendly with TypeScript. Refetch is written with TypeScript, and It also works well with plain JavaScript too.

## Links
 - [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
 - [r2](https://github.com/mikeal/r2)
npm package: @hazelnutcloud/eden
Description: Fully type-safe Elysia client
Author: saltyAom
Latest version: 1.1.2

# @elysiajs/eden
Fully type-safe Elysia client refers to the [documentation](https://elysiajs.com/eden/overview)

## Installation
```bash
bun add elysia @elysiajs/eden
```

## Example
```typescript
// server.ts
import { Elysia, t } from 'elysia'

const app = new Elysia()
    .get('/', () => 'Hi Elysia')
    .get('/id/:id', ({ params: { id } }) => id)
    .post('/mirror', ({ body }) => body, {
        schema: {
            body: t.Object({
                id: t.Number(),
                name: t.String()
            })
        }
    })
    .listen(8080)

export type App = typeof app

// client.ts
import { edenTreaty } from '@elysiajs/eden'
import type { App } from './server'

const app = edenTreaty<App>('http://localhost:8080')

// data: Hi Elysia (fully type-safe)
const { data: pong } = app.index.get()

// data: 1895
const { data: id } = client.id.1895.get()

// data: { id: 1895, name: 'Skadi' }
const { data: nendoroid } = app.mirror.post({
    id: 1895,
    name: 'Skadi'
})
```