Forwarded from Beka (Beka)
I made a fetch wrapper that returns data and error object instead of Response.
While I was working on better auth, I start using ofetch which is also a wrapper over fetch. I like many of its features, but I wanted to have the response as data and error. And this isn't the first time I wanted this, so I created a fetch wrapper that add this, along with some features borrowed from ofetch.
https://github.com/Bekacru/better-fetch
While I was working on better auth, I start using ofetch which is also a wrapper over fetch. I like many of its features, but I wanted to have the response as data and error. And this isn't the first time I wanted this, so I created a fetch wrapper that add this, along with some features borrowed from ofetch.
https://github.com/Bekacru/better-fetch
GitHub
GitHub - Bekacru/better-fetch: Advanced fetch wrapper for typescript
Advanced fetch wrapper for typescript. Contribute to Bekacru/better-fetch development by creating an account on GitHub.
The way i sing too sweet by hoizer every time i make black coffee or stay up till 3
❤3
me : installing an app from the microsoft store
windows : now that you have given me the grace of being 20 pixels close to a network source , i'm going to download every sort of sponsored ad game and edge update possible without your consent
me : end task , stop service
windows : fk
windows : now that you have given me the grace of being 20 pixels close to a network source , i'm going to download every sort of sponsored ad game and edge update possible without your consent
me : end task , stop service
windows : fk
🥰1
PSA ⚠️ : Make sure you remove batteries from your electronics box, they leak