A tiny wrapper built around fetch with an intuitive syntax ↦
Why wretch?
- Because having to write a second callback to process a response body feels awkward.
- Because manually checking and throwing every request error code is tedious.
- Because sending a json object should be easy.
- Because configuration should not rhyme with repetition.
The readme has examples of each of these improvements in action. Love it!
Discussion
Sign in or Join to comment or subscribe