Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 5.35 KB

COMPARISON.md

File metadata and controls

53 lines (43 loc) · 5.35 KB

Feature Comparison

This table aims to provide an accurate comparison of fetch libraries, though there may be room for improvement. If you notice any discrepancies or have additional information to share, please submit a PR with supporting documentation.

up-fetch vs ofetch vs wretch vs ky

Legend:

  • ✅ Supported
  • 🟧 Partially supported
  • ❌ Not supported or not documented
Feature up-fetch ofetch wretch ky
Minzipped Size
Automatic Body Handling
Automatic Params Handling
Automatic Response Parsing
Custom Body Serializer
Custom Error Parser 🟧
Custom Error Throwing
Custom Fetch Implementation 🟧 (1)
Custom Params Serializer
Custom Response Parser 🟧 🟧
Dynamic Default Headers 🟧 🟧 🟧
Extendable instance
Hooks/Interceptors
Instance Configuration
Retry
Schema Validation
Timeout 🟧 (2)
Zero Dependencies

(1) fetch type is not inferred
(2) timeout can't be used together with signal as per ofetch 1.4.1