uberfetch

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

uberfetch is a thin convenience wrapper around the native Fetch API that sets JSON as the default format and converts HTTP error responses (non-2xx status codes) into rejected promises. Current stable version is 1.0.1. The library simplifies common fetch patterns: automatic JSON stringification and parsing, method-specific helpers (get, post, put, patch, delete), and a RequestError class for typed error handling. It relies on the browser's built-in fetch or a polyfill like github/fetch. Minimal—no complex configuration, ideal for projects that want a lightweight alternative to Axios or Ky.