
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
node-redis-streamify
Advanced tools
A Node.js library to augment node_redis interface with streaming version of commands SCAN, HSCAN, SSCAN, ZSCAN.
A Node.js library to augment node_redis interface with streaming version of commands SCAN, HSCAN, SSCAN, ZSCAN.
npm install node-redis-streamify --save
var
redis = require('redis');
require('node-redis-streamify')(redis);
var
scan = redis.streamified('SCAN'); // case insensitive
scan('*')
.on('data', function (data) {
// your code here
// call this.end() if you want to stop scanning
})
.on('error', function (error) {
// your code here
})
.on('end', function () {
// your code here
});
var
pattern = '*',
count = 10,
scan = redis.streamified('SCAN'); // case insensitive
scan(pattern, count)
.on('data', function (data) {})
.on('error', function (error) {})
.on('end', function () {});
var
key = 'path:to:key'
pattern = '*',
count = 10,
hscan = redis.streamified('HSCAN'); // case insensitive
hscan(key, pattern, count)
.on('data', function (data) {})
.on('error', function (error) {})
.on('end', function () {});
var
key = 'path:to:key'
pattern = '*',
count = 10,
sscan = redis.streamified('SSCAN'); // case insensitive
sscan(key, pattern, count)
.on('data', function (data) {})
.on('error', function (error) {})
.on('end', function () {});
var
key = 'path:to:key'
pattern = '*',
count = 10,
zscan = redis.streamified('ZSCAN'); // case insensitive
zscan(key, pattern, count)
.on('data', function (data) {})
.on('error', function (error) {})
.on('end', function () {});
These are a few alternative projects:
FAQs
A Node.js library to augment node_redis interface with streaming version of commands SCAN, HSCAN, SSCAN, ZSCAN.
The npm package node-redis-streamify receives a total of 678 weekly downloads. As such, node-redis-streamify popularity was classified as not popular.
We found that node-redis-streamify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.