@npora/request 1.13.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,8 +19,9 @@ authentication, and upload/download progress.
19
19
 
20
20
  - **Trust responses at runtime.** Standard Schema v1 validation checks and can
21
21
  transform untrusted data while preserving full response and error metadata.
22
- - **Stream without buffering everything.** SSE and NDJSON are exposed as lazy
23
- async iterables with cancellation, timeout, and response-size enforcement.
22
+ - **Stream without buffering everything.** File downloads, SSE, and NDJSON can
23
+ be consumed lazily with backpressure, cancellation, timeout, progress, and
24
+ response-size enforcement.
24
25
  - **Add resilience without hiding the transport.** Retry, cache, circuit
25
26
  breaker, concurrency, authentication, logging, and progress are isolated,
26
27
  composable plugins over the standard Fetch API.
@@ -37,6 +38,8 @@ authentication, and upload/download progress.
37
38
  `searchParams`.
38
39
  - Standard Schema v1 validation and transformation for untrusted responses.
39
40
  - Incremental SSE and NDJSON async iterables with cancellation and size limits.
41
+ - Progress-aware file download streams that preserve backpressure and avoid
42
+ buffering the complete response in memory.
40
43
  - Unified errors across Fetch, XHR, parsing, validation, timeouts, and aborts.
41
44
  - Request/response/error interceptors with deterministic priority ordering.
42
45
  - Official retry, cache, circuit-breaker, concurrency, authentication, logger,
@@ -428,6 +431,8 @@ allowlist, and size budgets.
428
431
  - [API reference](https://github.com/npora/request/blob/main/docs/api.md)
429
432
  - [Architecture](https://github.com/npora/request/blob/main/docs/architecture.md)
430
433
  - [Migration from 0.x](https://github.com/npora/request/blob/main/docs/migration.md)
434
+ - [Migration from Axios or Ky](https://github.com/npora/request/blob/main/docs/migration-from-axios-and-ky.md)
435
+ - [HTTP client comparison](https://github.com/npora/request/blob/main/docs/comparison.md)
431
436
  - [Security model](https://github.com/npora/request/blob/main/docs/security.md)
432
437
  - [Testing and release gates](https://github.com/npora/request/blob/main/docs/testing.md)
433
438
  - [Performance benchmarks](https://github.com/npora/request/blob/main/docs/benchmark.md)