memcache-plus is a Node.js memcache client with native Promise support, Elasticache auto-discovery, command buffering, and built-in compression. Current stable version is 0.3.1. Released irregularly. It differentiates from other memcache clients (like memcached) by providing a clean Promise-based API, automatic Elasticache cluster detection, and a flag to disable caching for testing. Supports both callbacks and Promises, and allows starting commands before connection (buffering).
npm install memcache-plusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a client, connect, set/get/delete values, and disconnect.
Always await client.connect() before issuing commands.
Use async/await or .then() instead of callbacks.
Pass TTL in seconds, e.g., 3600 for 1 hour.
For Elasticache, pass the configuration endpoint URL as the host string.
Start memcached: memcached -d start or check the host/port.
Await client.connect() first, or use the ESM import: import MemcachePlus from 'memcache-plus'.
Run: npm install memcache-plus
No dependency data recorded yet.