dependabot[bot] b2ef8875f6
chore(deps-dev): bump typescript from 4.5.4 to 4.5.5 (#123)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-22 07:46:05 -03:00
2022-01-20 08:52:44 -03:00
2022-01-19 07:48:33 -03:00
2022-01-18 12:06:20 -03:00
2022-01-18 12:25:31 -03:00
2022-01-08 13:31:02 -03:00
2022-01-18 13:02:17 -03:00
2022-01-18 13:02:17 -03:00
2022-01-19 09:04:40 -03:00
2022-01-07 17:33:23 -03:00

Issues Stars License Try on Runkit Codecov Downloads Bundlephobia Packagephobia


  

⚡ Axios Cache Interceptor


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.


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%