https://github.com/tiaanduplessis/axios-timed
Time axios requests
https://github.com/tiaanduplessis/axios-timed
axios miliseconds ms timed
Last synced: 10 months ago
JSON representation
Time axios requests
- Host: GitHub
- URL: https://github.com/tiaanduplessis/axios-timed
- Owner: tiaanduplessis
- Created: 2019-03-01T11:09:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-02T22:58:59.000Z (about 7 years ago)
- Last Synced: 2025-08-04T05:29:50.210Z (11 months ago)
- Topics: axios, miliseconds, ms, timed
- Language: JavaScript
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# axios-timed
[](https://npmjs.org/package/axios-timed)
[](https://npmjs.org/package/axios-timed)
[](https://github.com/RichardLitt/standard-readme)
[](https://npmjs.org/package/axios-timed)
[](http://makeapullrequest.com)
> Time axios requests
## Table of Contents
- [axios-timed](#axios-timed)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#license)
## Install
This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com).
```sh
$ npm install axios-timed
$ # OR
$ yarn add axios-timed
```
## Usage
```js
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
1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request
## License
MIT