1
0
mirror of https://github.com/redis/node-redis.git synced 2025-12-25 00:40:59 +03:00

Adds topk example for RedisBloom (#1837)

* Adds topk example.

* Update topk.js

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
This commit is contained in:
Simon Prickett
2022-01-15 16:44:53 +00:00
committed by GitHub
parent 8a40398a75
commit e4601b6960
2 changed files with 95 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ This folder contains example scripts showing how to use Node Redis in different
| `set-scan.js` | An example script that shows how to use the SSCAN iterator functionality |
| `stream-producer.js` | Adds entries to a [Redis Stream](https://redis.io/topics/streams-intro) using the `XADD` command |
| `stream-consumer.js` | Reads entries from a [Redis Stream](https://redis.io/topics/streams-intro) using the blocking `XREAD` command |
| `topk.js` | Use the [RedisBloom](https://redisbloom.io) TopK to track the most frequently seen items. |
## Contributing