axios-light-my-request-adapter

JSON →
library 0.4.0 ·javascript
verified Jun 7, 2026

Axios adapter that uses Light my Request to inject HTTP requests without a real server, ideal for testing Fastify or Node.js HTTP handlers. Current stable version: 0.4.0. Release cadence is low (last release 2021). Key differentiator: enables in-process HTTP testing with Axios without network I/O, supporting both generic HTTP dispatch and Fastify applications. Requires Node >=20, axios ^1, and fastify >=4 as peer dependencies. Ships TypeScript types. Caveats include unsupported maxRedirects, socketPath, proxy, and httpAgent.