Loading...
Loading...
Tiny and elegant HTTP client based on the Fetch API for modern browsers, Node.js, Bun, and Deno
npx skill4agent add ono500/infra-ai ky该 skill 基于 Ky v1.14.3,生成于 2026-02-04。
| Topic | Description | Reference |
|---|---|---|
| Basic Usage | HTTP method shortcuts, response body methods, TypeScript support | core-usage |
| Core Options | json, searchParams, prefixUrl, timeout, method | core-options |
| Topic | Description | Reference |
|---|---|---|
| Automatic Retry | Configurable retry strategies, delays, jitter, custom logic | feature-retry |
| Topic | Description | Reference |
|---|---|---|
| Lifecycle Hooks | beforeRequest, beforeRetry, afterResponse, beforeError hooks | feature-hooks |
| Topic | Description | Reference |
|---|---|---|
| Custom Instances | ky.create(), ky.extend(), context for hooks | feature-instances |
| Topic | Description | Reference |
|---|---|---|
| Error Types | HTTPError, TimeoutError, ForceRetryError, type guards | feature-errors |
| Topic | Description | Reference |
|---|---|---|
| Progress Tracking | Upload and download progress callbacks | advanced-progress |
| Customization | Custom JSON parsing/stringifying, custom fetch | advanced-customization |
| Topic | Description | Reference |
|---|---|---|
| Form Data | multipart/form-data, URL-encoded forms, file upload | best-practices-form-data |
| Cancellation | AbortController for request cancellation | best-practices-cancellation |
| Node.js Features | Proxy support, HTTP/2, environment configuration | best-practices-nodejs |