Memcached store for cache-manager v6+. Supports pluggable memcache clients (memcache-pp, memcache-plus). Currently at v6.0.1, active development. Differentiator: allows choosing underlying memcached driver via a 'driver' option, providing flexibility. First-class ESM and CJS support. Requires cache-manager v5+ as peer dependency. Low maintenance burden, used in production by various Node.js apps.
npm install cache-manager-memcached-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a memcached cache store with driver, sets and gets a value.
If you were using memcache-plus before, pass `driver: MemcachePlus` from memcache-plus package.
Consider migrating to cache-manager's native Memcached support if available.
Ensure keys are strings; convert numbers or objects using String() or JSON.stringify.
Pass `options: { compression: true }` or similar driver-specific option.Run 'npm install cache-manager-memcached-store' and ensure it's in package.json.
Use `const memcachedStore = require('cache-manager-memcached-store').default;` or switch to ESM.Run 'npm install memcache-pp' or use a different compatible driver.
Add `driver: Memcache` (or alternative) to the caching options object.