axios-timing
Axios plugin to measure the actual time it takes for a request to complete
Installation
You can install this plugin using Yarn or NPM
yarn add axios-timing# - or - npm install axios-timing
Basic Usage
The example below will log all request times out to the console...
Axios Instance
If you are using an axios instance, you should pass this through as the first argument
const instance = axios
Custom Callback
You can pass through a custom callback as your second arguement