Just switched a project from plain fetch to ky


Just switched a project from plain fetch to ky.

I really like the result. 🔥

✅ MUCH less code
✅ Treats non-2xx status codes as errors (don't have to manually check response.ok 😀)
✅ Specify request timeout and retries with one line of code

More: https://github.com/sindresorhus/ky

View original on X