node-redis
                                
                                 node-redis copied to clipboard
                                
                                    node-redis copied to clipboard
                            
                            
                            
                        Redis Node.js client
### Description ```ts export const redisClient = createClient(options).withTypeMapping({ [RESP_TYPES.BLOB_STRING]: String, }); // Type 'string | {}' is not assignable to type 'string'. Type '{}' is not assignable to type 'string'.ts(2322)...
### Motivation Having regrets after migrating from ioredis because of the lack of prefix option which is causing a ton of issues using Redis in CI. The problem is that...
### Description ```ts await redis.set(KEY, STRING_VALUE, { expiration: { type: 'PX', value: 1000, }, }); let cached = await redis.get(KEY); ``` Here I would expect `await redis.get(KEY)` to always return...
### Description hello, i don't know why but exact match and params dont seems to works together. ## Reproduction ```ts import { createClient, SchemaFieldTypes } from 'redis'; import { GenericContainer...
### Description I'm having some issues with the reconnect strategy in this library. It seems to work as per the documentation on the initial connection to Redis, however the behaviour...
### Description ` const addresses: LookupAddress[] = await new Promise((resolve, reject) => { dns.lookup( "wso2-authentication-service-redis-service", dnsOptions, (err, addresses) => { if (err) { console.error("DNS resolution error:", err); reject(err); } else...
Documented [here](https://redis.io/commands/ZRANK).
### Pull Request check-list _Please make sure to review and check all of these items:_ - [x] Does `npm test` pass with this change (including linting)? - [x] Is the...
### Motivation With more and more build tools (vite, nuxt, etc) going towards an esm-first build, it would be nice if a proper [esm interface](https://nodejs.org/api/esm.html) could be provided, i.e. transpile...
### Description I am attempting to figure out how to properly type the multi command in the v5 version of this package, and I could use some assistance. Here is...