Axios service wrapper for the Cordis dependency injection framework. Current stable version 4.1.0, released as part of the Satori project ecosystem. Provides a simplified API for HTTP requests using Axios, integrated with Cordis's service lifecycle. Key differentiator: automatic context management and lifetime scoping within Cordis applications. Alternative to manual Axios instantiation in Cordis-based projects.
npm install cordis-axiosNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to register the AxiosService as a Cordis plugin and make an HTTP GET request using the injected axios instance.
Update import to 'cordis-axios'
Use app.get('axios') instead of app.get('http')Access axios instance only after starting the app or within plugin lifecycle hooks
npm install cordis-axios
Use app.get('axios').get(...) or inject the axios instance properly.Ensure app.start() is called and the AxiosService plugin is registered.