# infinitered/apisauce

Axios + standardized errors + request/response transforms.

Repository: https://github.com/infinitered/apisauce
Canonical: https://ross.abutalabs.com/products/apisauce
Language: JavaScript
License: MIT
License Family: permissive
Topics: axios, promise, api, react-native, reactjs
Last push: 2026-06-12T21:37:41+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 34, longevity 100
- inputs: {"age_days": 3798, "days_push": 82, "days_rel": 281, "gap_med": 103.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2886, forks 187 (observed 2026-08-28T04:07:28.187684+00:00)

## What it is
Apisauce is a low-fat wrapper around the Axios HTTP client that standardizes error handling with a 'problem' property on every response and supports request/response transforms. It works in Node, the browser, and React Native, and is now community-supported only with no active maintenance.

## Use cases
- wrap axios calls with standardized error problems
- make JSON API requests from React Native apps
- unify success and failure response handling in one flow
- attach transforms that modify all request or response data
- detect connection issues on mobile networks
- configure a base URL and shared headers for an API client

## When to choose
- you want consistent error shapes on top of axios in an existing project
- you are maintaining a React Native or React codebase already using apisauce
- you need request/response transform hooks with minimal abstraction

## When to avoid
- starting a new project - the maintainers recommend using axios directly
- you need actively maintained software with timely bug fixes
- you need features beyond a thin axios wrapper

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, middleware
- domain: web-development, apis, frontend, developer-tools
- platform: browser, cross-platform
- tags: axios-wrapper, react-native, api-client, error-handling, request-transforms, nodejs

## Member repositories
- infinitered/apisauce (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.187684+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-30T07:35:23.002482+00:00, confidence not recorded.
  - readme: https://github.com/infinitered/apisauce (fetched 2026-08-28T04:07:28.187684+00:00, sha 34100a71df6e)
  - registry_npm: https://registry.npmjs.org/apisauce (fetched 2026-08-29T09:50:57.406808+00:00, sha f6392d828417)
- Data as of 2026-08-30T08:39:29.467469+00:00.
