Y
Hacker News
new
|
ask
|
show
|
jobs
by
overflowy
81 days ago
How does it compare against axios (aside from the supply chain issues hehe)?
1 comments
sholladay
81 days 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...
link
Documented here: https://github.com/sindresorhus/ky?tab=readme-ov-file#how-is...