{"library":"axios-cacher","type":"library","category":null,"description":"Axios-cacher is a lightweight caching wrapper for Axios that stores API response data in memory with configurable expiration (maxAge) and manual cache invalidation via user keys. The current stable version is 1.1.4, released in 2021 with no notable update cadence. It provides a setup function returning both a cached axios client and an invalidation helper. Unlike generic caching solutions, it ties cache entries to unique user keys for targeted invalidation. The package is minimal (no persistence, no external dependencies beyond axios) and targets Node.js environments.","language":"javascript","status":"active","version":"1.1.4","tags":["javascript","cache","api","axios"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install axios-cacher","imports":["import setup from 'axios-cacher'","const { axiosClient } = setup({...})","const { invalidateThis } = setup({...})"]},{"cmd":"yarn add axios-cacher","imports":[]},{"cmd":"pnpm add axios-cacher","imports":[]}],"homepage":"https://github.com/harshitchauhan-tc/axios-cacher#readme","github":"https://github.com/harshitchauhan-tc/axios-cacher","docs":null,"changelog":null,"pypi":null,"npm":"axios-cacher","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}