raptor-cache

JSON →
library 2.0.5 ·javascript
verified Jun 7, 2026

Efficient JavaScript cache implementation for Node.js that supports asynchronous reading and writing, prevents duplicate work via cache entry holds, and provides out-of-box in-memory and disk-based cache stores. Version 2.0.5 is current. It solves concurrency challenges with asynchronous cache stores and allows custom stores (e.g., Redis, memcached). Key differentiators: hold mechanism to avoid rebuilding same key, configurable time-to-live and time-to-idle, and support for combined file or separate files disk stores.