redis-expiry
JSON →A Redis-based key expiration and event scheduling library for Node.js (v1.1.8). It allows scheduling key expiration via timeout, absolute date, cron pattern, or immediate expiry, and provides event handlers that fire when keys expire, including regex pattern matching. Unlike simple Redis TTL, redis-expiry persists scheduled expirations across application restarts by storing metadata in Redis. Supports CRUD operations and rescheduling. Suitable for timed tasks, cron jobs, and cache invalidation with guaranteed execution after restart. Release cadence is sporadic; last update was 2020.
Resources
packageredis-expiry ↗