{"repo":"denodrivers/redis","free":true,"listed":false,"github":"https://github.com/denodrivers/redis","clone":"git clone https://github.com/denodrivers/redis.git","description":"🦕 Redis client for Deno 🍕","language":"TypeScript","stars":466,"topics":["deno","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"deno-redis An experimental implementation of redis client for deno Usage Installation Permissions deno-redis needs --allow-net privilege Stateless Commands Pub/Sub Streams Cluster First, if you need to set up nodes into a working redis cluster: To consume a redis cluster, you can use experimental/cluster module. Advanced Usage Handle connection timeout Connection timeout handling can be implemented with signal option: Retriable connection By default, a client's connection will retry a command execution based on exponential backoff algorithm if the server dies or the network becomes unavailable. You can change the maximum number of retries by setting maxRetryCount (It's default to 10 ): Execute raw commands Redis.sendCommand is low level interface for redis protocol. You can send raw redis commands and receive replies. If returnUint8Arrays option is set to true , simple strings and bulk strings are returned as Uint8Array Pipelining https://redis.io/topics/pipelining TxPipeline (pipeline with MULTI/EXEC) We recommend to use tx() instead of multi()/exec() for transactional operation. MULTI/EXEC are potentially stateful operation so that operation's atomicity is guaranteed but redis's state may change between MULTI and EXEC. WATCH is designed for these problems. You can ignore it by using TxPipeline because pipelined MULTI/EXEC commands are strictly executed in order at the time and no changes will happen during execution. See detail https://redis.io/topics/transactions Client si","default_branch":null,"files":null,"tree":[],"storefront":"/r/denodrivers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/denodrivers/redis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}