# aspida/aspida

TypeScript friendly HTTP client wrapper for the browser and node.js.

Repository: https://github.com/aspida/aspida
Canonical: https://ross.abutalabs.com/products/aspida
Homepage: https://github.com/aspida/aspida
Language: TypeScript
License Family: other
Topics: typescript, http-client
Last push: 2023-11-11T14:17:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2524, "days_push": 1026, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1075, forks 38 (observed 2026-08-28T04:03:29.145741+00:00)

## What it is
aspida is a TypeScript-friendly HTTP client wrapper for the browser and Node.js that generates fully typed API clients from endpoint type definition files. It supports axios, fetch, and node-fetch as underlying HTTP clients.

## Use cases
- generate type-safe api clients from endpoint definitions
- make typed http requests in typescript
- wrap axios or fetch with full type safety
- type path params, query, headers and request/response bodies
- share api type definitions between frontend and backend

## When to choose
- you want end-to-end type safety for REST API calls in a TypeScript project
- you want to define API types once and get autocomplete for paths, queries, and bodies
- you want flexibility to swap between axios, fetch, or node-fetch

## When to avoid
- you use GraphQL rather than REST endpoints
- your project is JavaScript-only with no TypeScript
- you need a library with frequent releases and active maintenance (last release Nov 2023)

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, sdk, developer-tools
- domain: web-development, frontend, backend, apis, developer-tools
- platform: browser, cross-platform
- tags: type-safe-api-client, code-generation, axios, fetch, rest-client, nodejs, typescript

## Member repositories
- aspida/aspida (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.145741+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-30T06:53:25.683958+00:00, confidence not recorded.
  - readme: https://github.com/aspida/aspida (fetched 2026-08-28T04:03:29.145741+00:00, sha 19573701a9a5)
  - homepage: https://github.com/aspida/aspida (fetched 2026-08-29T12:54:53.422443+00:00, sha e0be0dc2544b)
  - registry_npm: https://registry.npmjs.org/aspida (fetched 2026-08-29T12:54:53.431950+00:00, sha 0f1bf6c4ab92)
- Data as of 2026-08-30T08:39:29.467469+00:00.
