axios-controller

JSON →
library 1.7.3 ·javascript
verified Jun 7, 2026

A lightweight library (v1.7.3) for creating controller proxies that mirror your Web API Controllers using Axios. It simplifies making HTTP requests by allowing you to define methods that automatically map to Axios calls, with automatic response unwrapping (returns the `data` property by default). Released on GitHub, it supports both CommonJS and ES Modules, and includes TypeScript type definitions. Compared to raw Axios, it reduces boilerplate for CRUD operations and provides a structured, controller-based design pattern similar to MVC frameworks. Current stable version is 1.7.3, with a consistent API surface.