bluecache
JSON →Bluecache is a read-through, in-memory, least recently used (LRU) cache for Node.js. Version 4.1.3 wraps the popular lru-cache library and adds a Promise-based API that combines get and set into a single call, preventing cache stampedes by immediately caching and returning a Promise for the priming value. It supports options like max, maxAge (with ms string parsing), stale, custom length, dispose, and a pruneInterval for proactive stale entry removal. The cache is lazily enforced and stores a memo while the value resolves. It has a stable release cadence and is suited for simple in-memory caching in Node.js applications.
Resources
packagebluecache ↗