typed-axios-instance

JSON →
library 3.3.1 ·javascript
verified Jun 7, 2026

A TypeScript library that adds full type safety to Axios instances by applying route definitions (generated from OpenAPI or Nextlove) as generic parameters. Current stable version is 3.3.1, actively maintained. Key differentiators: no need for generated client code; works directly with existing Axios instances; supports HTTP method discrimination for precise autocomplete on request/response shapes. Requires peer dependencies axios >=1.0.0 and type-fest >=3.0.0. Ships TypeScript types.