uberfetch
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France
Resources
packageuberfetch ↗