1.0.0 • Published 6 years ago
axios-timed v1.0.0
axios-timed
Time axios requests
Table of Contents
- axios-timed - Table of Contents - Install - Usage - Contribute - License
Install
This project uses node and npm.
$ npm install axios-timed
$ # OR
$ yarn add axios-timed
Usage
import axios from 'axios'
import axiosTimed from 'axios-timed'
axiosTimed(axios, response => console.log('ms', response.config.ms))
axios
.get('https://jsonplaceholder.typicode.com/todos/')
.then(console.log)
.catch(console.error)
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT
1.0.0
6 years ago