A TypeScript-written fetch adapter for axios, enabling use of the native Fetch API instead of XMLHttpRequest in Node.js and browser environments. Currently at version 1.6.4, it is actively maintained with frequent updates. Key differentiators: lightweight, no additional dependencies beyond axios itself (>=1.6.4), full TypeScript support, and easy drop-in replacement for the default adapter. Ideal for environments with limited XMLHttpRequest support or for leveraging streaming features.
npm install konfig-axios-fetch-adapterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create an Axios instance or request using the fetch adapter to use native Fetch API.
Upgrade axios to 1.6.4 or later.
Use dynamic import or require with .default.
Use Node.js 18+ or polyfill fetch globally.
Review fetch API limitations; use Axios cancellation tokens as usual, but browser cookies may not be sent same origin.
Use `import fetchAdapter from 'konfig-axios-fetch-adapter'` or `require(...).default`.
Run `npm install konfig-axios-fetch-adapter`.
Check network connectivity and server CORS configuration.