An in-memory LRU cache for Node.js implemented in C++11 using std::unordered_map and std::list, offering high performance for large caches. Version 1.2.6 supports Node 14/16 on OSX and Linux. It is an alternative to node-lru-cache for very large hashes, avoiding V8 object overhead. Last updated in 2021, it is in maintenance mode with no recent releases.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Default export is the constructor. TypeScript types are included.
CommonJS users should use require without destructuring; the module exports a single constructor.
TypeScript types are bundled; the default import is the constructor class.
Shows instantiation with options, set/get, size, remove, clear, and stats.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.