redis-tracker

JSON →
library 1.1.9 ·javascript
verified Jun 7, 2026

A TypeScript-first library for tracking RPC call counts and other action metrics using Redis time-bucketed counters. Version 1.1.9 is the current stable release with no breaking changes reported. It provides four main exports: `statis` for connection setup (standalone, cluster, or passing an existing ioredis instance), `trackAction` for incrementing counters, `searchKeys` for scanning Redis keys by pattern, and `statRedis` for reading counter values. Key differentiators include automatic time-bucket expiry (seconds to years), support for both module-specific and global counter namespaces, and native TypeScript definitions.