dependabot[bot] 0147f2f971
chore(deps-dev): bump prettier from 2.8.1 to 2.8.3 (#460)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 09:29:58 -03:00
2022-12-26 12:34:16 -03:00
2022-06-05 11:26:48 -03:00
2022-12-26 12:34:16 -03:00
2022-12-25 17:52:26 -03:00
2023-01-07 08:54:31 -03:00
2022-12-25 17:52:26 -03:00
2022-01-18 12:06:20 -03:00
2023-01-07 08:54:31 -03:00
2022-03-11 16:31:03 -03:00
2022-01-23 16:52:26 -03:00
2022-12-26 11:49:29 -03:00
2022-12-25 17:29:09 -03:00
2022-12-26 11:49:29 -03:00
2022-01-07 17:33:23 -03:00

Help axios-cache-interceptor grow! Star and share this amazing repo with your friends and co-workers!


Issues Stars License Try on Runkit Codecov Downloads Bundlephobia Packagephobia FOSSA Status Join the chat at https://gitter.im/axios-cache-interceptor/community


Axios Cache Interceptor is a small and efficient cache interceptor for axios.


import Axios from 'axios';
import { setupCache } from 'axios-cache-interceptor';

// same object, but with updated typings.
const axios = setupCache(Axios);

const req1 = axios.get('https://api.example.com/');
const req2 = axios.get('https://api.example.com/');

const [res1, res2] = await Promise.all([req1, req2]);

res1.cached; // false
res2.cached; // true

Documentation at axios-cache-interceptor.js.org 🎉🎉


License

Licensed under the MIT. See LICENSE for more informations.

FOSSA Status


Contact

See my contact information on my github profile or open a new issue.


Description
📬 Small and efficient cache interceptor for axios. Etag, Cache-Contol, TTL, HTTP headers and more!
Readme MIT 67 MiB
Languages
TypeScript 97.2%
JavaScript 1.5%
Shell 1.3%