{"library":"cache-service-cache-module","type":"library","category":null,"description":"A lightweight cache plugin for superagent-cache and cache-service, and a standalone in-memory cache optionally backed by localStorage or sessionStorage. Version 2.0.1 is the latest stable release with no release cadence noted. It provides background refresh, per-key expiration, robust API, and compatibility with cache-service and superagent-cache. Compared to alternatives, it integrates tightly with the cache-service ecosystem and supports browser storage without external dependencies.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","cache-service","cache","node","cache-module","localStorage","sessionStorage","browser"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-service-cache-module","imports":["const CacheModule = require('cache-service-cache-module');","const CacheModule = require('cache-service-cache-module');\nconst cache = new CacheModule({storage: 'session', defaultExpiration: 60});","cache.set('key', 'value', 30);"]},{"cmd":"yarn add cache-service-cache-module","imports":[]},{"cmd":"pnpm add cache-service-cache-module","imports":[]}],"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","github":"https://github.com/jpodwys/cache-service-cache-module","docs":null,"changelog":null,"pypi":null,"npm":"cache-service-cache-module","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}