Prerelease of Ky 2.0
10 points
1/21/1970
16 hours ago
by sholladay
Comments
sholladay
16 hours ago
overflowy
How does it compare against axios (aside from the supply chain issues hehe)?
12 hours ago
sholladay
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...
10 hours ago
Many quality of life improvements. Timeouts and hooks have been revamped. Quirks related to base URLs for custom instances have been solved. Every known bug has been fixed.
Please give it a try and let us know what you think!