3 ms·
You should lead with some deets about why you would use this vs just using `fetch` directly. ``` await fetchet('https://dummyjson.com/posts').then((response) h
by rco8786 1y ago
You should lead with some deets about why you would use this vs just using `fetch` directly.
```
await fetchet('https://dummyjson.com/posts').then((response) 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 1y agoThanks for the feedback, and correct. '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#addtions-to-fetch https://github.com/brysonbw/fetchet?tab=readme-ov-file#addti....
- LE_BAGEL_DOGUE 1y agoI’m still confused why you would use this? Syntactic boilerplate? Saves keystrokes?
- Brysonbw 1y agoThanks for the feedback. I've updated the README providing why someone might use the package but it's based on my perspective. If you have anymore thoughts on the package feel free to contribute and open a pull request