I originally wrote a small fetch wrapper for a side project. Rather than copying and pasting it into other projects, I decided to expand on it and publish it as a public package.
Feel free to star the repo, and more importantly, contribute.
I originally wrote a small fetch wrapper for a side project. Rather than copying and pasting it into other projects, I decided to expand on it and publish it as a public package.
Feel free to star the repo, and more importantly, contribute.
rco8786•2h ago
``` await fetchet('https://dummyjson.com/posts').then((response) => console.log(response)) ```
This is the first code sample and if I'm not mistaken you could s/fetchet/fetch and it would do the exact same thing?
Brysonbw•1h ago
'Additions to fetch()` section in repo README.md would answer why someone would use the lib vs fetch: https://github.com/brysonbw/fetchet?tab=readme-ov-file#addti....