3 ms·
Ky was written to use fetch from the beginning, whereas Axios tries to adapt itself to fetch, which doesn't always work well. We also have much better TypeScrip
by sholladay 6mo ago
Ky was written to use fetch from the beginning, whereas Axios tries to adapt itself to fetch, which doesn't always work well. We also have much better TypeScript support, including built-in schema validation with type inference.
Documented here:
https://github.com/sindresorhus/ky?tab=readme-ov-file#how-is-it-different-from-axios https://github.com/sindresorhus/ky?tab=readme-ov-file#how-is...