think-redis

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

think-redis is a Redis wrapper for ThinkJS framework (current version 1.1.4) built on top of ioredis. It provides a simplified promise-based API for common Redis operations like set, get, delete, increase, and decrease. Configuration options mirror ioredis. No frequent releases; it is a thin wrapper providing a ThinkJS-friendly interface with support for expired keys in milliseconds or seconds and event-driven connection handling. Differentiates from raw ioredis by offering convenience methods (e.g., `delete`, `increase`, `decrease`) and a constructor that accepts a config object.