Slim progress bar (NProgress) for Web applications that use the Axios library for HTTP requests. Version 1.2.0 (latest, stable) is unmaintained since 2020. It integrates with axios by intercepting requests to show a progress bar using NProgress. Key differentiator: framework-agnostic, works with any axios usage. No breaking changes known but relies on peer dependency axios@0.x (not compatible with axios v1.x). No TypeScript types.
npm install axios-progress-barNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and initialize the progress bar for all axios requests.
Add import 'axios-progress-bar/dist/nprogress.css' or include the CSS link in HTML.
Use axios@0.x (e.g., axios@0.27.2) or switch to an alternative progress bar library like 'axios-nprogress-bar' or 'nprogress-axios'.
Consider using 'axios-nprogress-bar' (active) or implementing your own interceptor with nprogress.
Call loadProgressBar() once, typically at app initialization.
Use unpkg CDN for versioned releases: https://unpkg.com/axios-progress-bar@1.2.0/dist/index.js
Downgrade axios to version 0.x: npm install axios@0.27.2
Change import to: import { loadProgressBar } from 'axios-progress-bar'Add correct import: import 'axios-progress-bar/dist/nprogress.css' or link from CDN.
Ensure axios is installed and imported: import axios from 'axios'