A lightweight progress bar for Axios HTTP requests using NProgress. Version 1.2.2, last updated 2019, no active releases since. Requires axios 0.x. Integrates seamlessly with any web framework (React, Vue, vanilla JS) via a single function call. Provides configurable NProgress appearance and per-request disable option. CSS file must be imported separately. Key differentiator: minimal setup compared to other Axios progress bar solutions.
npm install x-axios-progress-barNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install, import, initialize progress bar, and make axios requests with automatic progress display. Includes per-request disable example.
Either pin axios to 0.x or switch to a maintained progress bar library compatible with axios 1.x.
Use alternative CDN like unpkg or jsdelivr: https://unpkg.com/x-axios-progress-bar/dist/index.js
Add import: import 'x-axios-progress-bar/dist/nprogress.css' or link the CSS file in HTML.
Import correctly: import { loadProgressBar } from 'x-axios-progress-bar'Migrate to a maintained package or manually integrate NProgress with axios interceptors.
Use: const { loadProgressBar } = require('x-axios-progress-bar');Ensure bundler supports CSS imports (e.g., webpack with css-loader). Use correct path: 'x-axios-progress-bar/dist/nprogress.css'
Downgrade axios to 0.x: npm install axios@0.27.2
Import or link the nprogress.css file from dist folder.