axios-retrofit

JSON →
library 2.0.2 ·javascript
verified Jun 7, 2026

A declarative, decorator-based HTTP client library for JavaScript/TypeScript that mimics Android's Retrofit pattern, built on top of axios. Current stable version is 2.0.2. Release cadence is low, with infrequent updates. Key differentiators: uses ES decorators for defining API endpoints, supports path parameters, headers, and body annotations, integrates with axios interceptors. Compared to alternatives like fetch or raw axios, it provides a structured, annotation-driven approach suitable for TypeScript projects seeking a Retrofit-like experience.