Axios Endpoints
JSON →Axios Endpoints (v1.0.3) is a lightweight wrapper around axios for defining endpoint mappings with a concise API. It provides both a default Endpoint class for quick setup (uses global axios) and a Factory pattern that accepts a custom axios instance for full configuration control. Supports GET, POST, PUT, DELETE methods, dynamic URI parameters via function-based endpoint definitions, and Promise/async-await patterns. No releases since initial 1.0.0; maintained in passive state. Differentiator: simplifies endpoint creation vs raw axios by encapsulating base URLs and method calls. Ships TypeScript types. Requires axios as a peer dependency.
Resources
packageaxios-endpoints ↗