fzn0x / hypf

🤏 Small (2.5kB MINIFIED + GZIPPED & 0 dependencies) and strong-typed HTTP client for Deno, Bun, Node.js, Cloudflare Workers and Browsers.
https://bundlephobia.com/package/hypf@0.2.3
MIT License
33 stars 1 forks source link

After doing a preRequest, hypf should retrieve the property from the options. #11

Closed EdamAme-x closed 5 months ago

EdamAme-x commented 5 months ago

What feature are you want to add?

The reason is that I can play with otpions within preRequest.

https://github.com/fzn0x/hypf/blob/main/src/utils/create-request.ts#L44

Why this feature is important?

Describe the feature

This is useful for common settings.

Checklist

fzn0x commented 5 months ago

This is a good request

Indeed, we should do more with the Hooks, I will check first and work on it

fzn0x commented 5 months ago

https://github.com/fzn0x/hypf/releases/tag/v0.2.2 is released