axios-timed is a lightweight wrapper around axios that adds request timing capabilities, logging elapsed time for HTTP requests in milliseconds. Current stable version is 1.0.0. It provides a simple interceptor-based approach to measure and log request duration. Compared to manual timing, it integrates seamlessly with axios instances and supports custom logging functions. Release cadence is low; last update was several years ago.
npm install axios-timedNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to apply timing to an axios instance with custom logging function, then make a request.
Upgrade to 1.0.0 or access config properties via the second parameter.
Update log function signature to (duration, config).
Use default import: import axiosTimed from 'axios-timed'
Use const axiosTimed = require('axios-timed').default or import default.