{"library":"mande","type":"library","category":null,"description":"mande is a lightweight (~800 bytes) wrapper around the Fetch API that provides smart defaults for HTTP requests, including automatic JSON serialization/deserialization, error throwing on non-2xx responses, and automatic Content-Type headers. Version 2.0.9 is the latest stable release, with a relatively stable API and TypeScript support built-in. It differentiates from axios and ky by its minimal size, zero dependencies, and focus on simplicity. The library offers a clean, promise-based interface with GET, POST, PUT, PATCH, DELETE methods, global defaults, per-instance options, and request-level overrides. It works in modern browsers and Node.js with a fetch polyfill.","language":"javascript","status":"active","version":"2.0.9","tags":["javascript","fetch","browser","client","request","api","get","ajax","fetchival","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mande","imports":["import { mande } from 'mande'","import { defaults } from 'mande'","import type { MandeInstance } from 'mande'"]},{"cmd":"yarn add mande","imports":[]},{"cmd":"pnpm add mande","imports":[]}],"homepage":"https://github.com/posva/mande#readme","github":"https://github.com/posva/mande","docs":null,"changelog":null,"pypi":null,"npm":"mande","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}