sindresorhus/
Tiny and elegant HTTP client based on the browser Fetch API
USD raised
Recent activities
memory leak
URLSearchParams.size is only supported in some Node.js 18 and 19 releases, causing hasSearchParameters to behave inconsistently
Timeout doesn't behave like documented
bug in safari Unhandled Promise Rejection: ReadableStream is not supported
Ky v2
adding onUploadProgress makes the api failed
KY is forcing empty string on 204
standard-schema support for runtime validation with Zod, Valibot, etc.
Nuuts tovchoo
MOHAMED
Enhance browser compatibility for ReadableStream in POST requests
regression: ky aborting in 1.8.0
Allow adding a default response body encoding when extending ky
Document requirement to handle `error.response` when catching `HTTPError`
Add generic for HTTPError to type the response
Allow for logging network errors and JSON parse errors
Refresh token with ky: 2 calls instead of 1
Best way to handle Fetch errors such as Failed to fetch, NetworkError when attempting to fetch resource, etc.
Pass `TimeoutError`s to `beforeError` hooks
Allow to specify timeout for single request in additional for total timeout including retries
ky sending empty request when evaluated by PageSpeed
improve documentation for generic parameters in README
Improve documentation and create a website
Add an `init` hook
0 bytes received, no exception
Allow beforeRequest hooks to proceed after updating request
Expose timings on response
Should `status = 0` be considered `ok` for `mode: no-cors`-requests?
[feature request] add hook onNetworkError
prefixUrl is unneededly applied to absolute urls
afterResponse hook stops response from resolving
.json() maximum size/length?
.json() method does not execute for failing API response
Port tests from Got
Errors thrown by hooks should be treated as fatal
Some of the Got issues that could be applied to Ky
Set accept header for ky shortcut methods
Support accessing to options in response hook
Support accessing options in afterResponse hook
Ky function does not accept arbitrary method Typescript typings
request object in beforeRequest hook doesnt contain searchParams
`Promise.race()` breaks debugging
Searching for ky
Add `onProgress` option
Progress events
Stream API
© 2019 BoostIO, Inc.