An Axios plugin that provides request queue management, enabling features such as request deduplication (unique), global interceptors, and custom request/response handling. Currently at version 1.1.5, the package is in maintenance mode and the author recommends migrating to the more comprehensive axios-ex. It supports TypeScript and is designed for use with Axios in both Node.js and browser environments. Differentiators include simple queue configuration and built-in cancel mechanisms, but it is largely superseded by axios-ex.
npm install axios-qNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating an axios instance with queue support, including unique request deduplication and custom interceptors.
Migrate to axios-ex by installing npm install axios-ex and following its documentation.
Always use await or .then() on the result of axiosQueue.create() to get the axios instance.
Use const axiosQueue = require('axios-q').default; or use 'import axiosQueue from 'axios-q'' with ESM.Use const axiosQueue = require('axios-q').default; or use import axiosQueue from 'axios-q';Use await or .then() to unwrap the Promise: const instance = await axiosQueue.create(options); instance.get(...);
Use only the package name as the import source: import axiosQueue from 'axios-q'; no subpaths.