{"library":"uberfetch","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install uberfetch","imports":["import uberfetch from 'uberfetch'","import uberfetch from 'uberfetch'; uberfetch.get('/url')","import uberfetch from 'uberfetch'; const err = new uberfetch.RequestError(response)"]},{"cmd":"yarn add uberfetch","imports":[]},{"cmd":"pnpm add uberfetch","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"uberfetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}