{"library":"fastify-axios","type":"library","category":null,"description":"A Fastify plugin that decorates the Fastify instance with an Axios HTTP client. Current stable version is 1.4.2. It wraps Axios (peer dependency ^1.0.0) and allows configuring default request options via plugin options. Supports multiple named clients through the 'clients' configuration. Ships TypeScript types. Release cadence is irregular; last update was in 2022. Differentiator: provides tight integration with Fastify's plugin system, automatic encapsulation, and easy per-client configuration. Notably, it uses a decorator pattern (fastify.axios) rather than request decoration like @fastify/http-proxy.","language":"javascript","status":"active","version":"1.4.2","tags":["javascript","fastify","axios","nodejs","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fastify-axios","imports":["fastify.register(require('fastify-axios'))","await fastify.axios.get('https://example.com')","const { data } = await fastify.axios.v1.get('/ping')"]},{"cmd":"yarn add fastify-axios","imports":[]},{"cmd":"pnpm add fastify-axios","imports":[]}],"homepage":"https://github.com/davidedantonio/fastify-axios#readme","github":"https://github.com/davidedantonio/fastify-axios","docs":null,"changelog":null,"pypi":null,"npm":"fastify-axios","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}