dependabot[bot] f8db646132
chore(deps-dev): bump tsx from 3.14.0 to 4.1.2 (#721)
Bumps [tsx](https://github.com/privatenumber/tsx) from 3.14.0 to 4.1.2.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v3.14.0...v4.1.2)

---
updated-dependencies:
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 02:37:43 -03:00
2023-02-17 12:05:43 -03:00
2023-02-07 16:11:18 -03:00
2023-09-30 16:02:27 -03:00
2023-10-28 20:32:38 -03:00
2023-05-17 19:29:05 -03:00
2022-01-18 12:06:20 -03:00
2023-02-16 23:52:08 -03:00
2023-02-16 23:52:08 -03:00
2023-09-03 15:53:58 -03:00
2023-05-17 19:04:49 -03:00
2023-02-16 23:52:08 -03:00
2023-10-28 20:32:38 -03:00
2022-12-25 17:29:09 -03:00
2023-10-27 10:44:14 -03:00

Using this package? Please consider donating to support my open source work ❤️
Help axios-cache-interceptor grow! Star and share this amazing repository with your friends and co-workers!


Axios Cache Interceptor logo


License Codecov Downloads Bundlephobia Last commit



Axios Cache Interceptor

Cache interceptor for axios made with developers and performance in mind.


  • Faster!
  • 📦 Handy builds!
  • 🔩 Hassle free!
  • 🛠️ Rich Features!
  • 🌐 No network waste!
  • 🔑 TypeScript!

Axios Cache Interceptor is, as it name says, a interceptor for axios to handle caching. It was created to help developers call axios multiple times without having to worry about overloading the network or coding himself a simple and buggy cache system.


Read the docs to Learn More.



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

// Same object, new types.
const axios = setupCache(Axios);

const req1 = axios.get('https://arthur.place/');
const req2 = axios.get('https://arthur.place/');

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

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

License

Licensed under the MIT. See LICENSE for more informations.

FOSSA Status


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%