Node Redis Scanner
JSON →node-redis-scan is a utility library for Node.js (requiring Node 10+) that simplifies key space scanning in Redis, leveraging the `SCAN`, `HSCAN`, `SSCAN`, and `ZSCAN` commands. It provides a higher-level API over the raw Redis commands, abstracting the cursor management typically required for incremental iteration. The current stable version is 1.3.8, with recent releases primarily focusing on `devDependencies` security updates rather than new features. A key differentiator is its provision of `scan()` for retrieving all matching keys in one go and `eachScan()` for processing keys iteratively as they are found, with the ability to cancel. However, it explicitly supports only `node-redis` client versions 3.x and earlier. Users of `node-redis` v4.x or newer are advised to use the client's built-in `scanIterator()` for similar functionality, which offers async iteration capabilities.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany