abstract-cache

JSON →
library 1.0.1 ·javascript maintenance
verified Jun 7, 2026

abstract-cache v1.0.1 provides a common interface for multiple caching strategies, inspired by Catbox. It allows swapping between in-memory, Redis, MongoDB, and other backends via a simple driver configuration. Unlike Catbox, it supports both callback and async/await patterns, and accepts pre-established connections. Clients like abstract-cache-redis and abstract-cache-mongo exist. The built-in in-memory LRU cache is suitable for development only. Release cadence is low; maintenance mode expected.