# posva/mande

800 bytes modern wrapper around fetch with smart defaults

Repository: https://github.com/posva/mande
Canonical: https://ross.abutalabs.com/products/mande
Homepage: https://mande.esm.is
Language: TypeScript
License: MIT
License Family: permissive
Topics: fetch, api, browser, esm, http-client, typescript
Last push: 2026-07-27T05:49:52+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 58, longevity 100
- inputs: {"age_days": 2299, "days_push": 37, "days_rel": 65, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1336, forks 44 (observed 2026-08-28T04:04:25.534041+00:00)

## What it is
Mande is an 800-byte TypeScript wrapper around the fetch API with smart defaults for communicating with JSON APIs. It provides a lightweight, extensible client with methods like get/post and easy header management for things like auth tokens.

## Use cases
- call REST APIs from the browser without verbose fetch boilerplate
- replace axios with a tiny fetch-based alternative
- create a small typed API client layer for my frontend app
- manage authorization headers for API requests
- make JSON POST requests with automatic headers and error handling

## When to choose
- you want a minimal, dependency-light fetch wrapper for browser or Node apps
- you need sensible JSON defaults and simple auth header management
- bundle size matters and you don't need interceptors or advanced features

## When to avoid
- you need interceptors, retries, timeouts, or request cancellation out of the box
- you're targeting environments without native fetch support
- you need a full-featured HTTP client like axios with rich middleware

## Facets
- artifact type: library
- maturity: stable
- function: http-client
- domain: web-development, apis, frontend
- platform: browser, cross-platform
- tags: fetch-wrapper, esm, typescript, tiny, axios-alternative, nodejs

## Member repositories
- posva/mande (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:25.534041+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:44:16.626282+00:00, confidence not recorded.
  - readme: https://github.com/posva/mande (fetched 2026-08-28T04:04:25.534041+00:00, sha 855e74f530de)
  - homepage: https://mande.esm.is (fetched 2026-08-29T12:03:48.022564+00:00, sha 9e3261cca7e8)
  - registry_npm: https://registry.npmjs.org/mande (fetched 2026-08-29T12:03:48.025496+00:00, sha e89b18a7ef9d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
