moaxaca / Async Redis
Licence: other
First class async & promise support for redis.
Stars: ✭ 128
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Async Redis
Mobc
A generic connection pool for Rust with async/await support
Stars: ✭ 141 (+10.16%)
Mutual labels: async, database, redis
Cs Books
超过1000本的计算机经典书籍、个人笔记资料以及本人在各平台发表文章中所涉及的资源等。书籍资源包括C/C++、Java、Python、Go语言、数据结构与算法、操作系统、后端架构、计算机系统知识、数据库、计算机网络、设计模式、前端、汇编以及校招社招各种面经~
Stars: ✭ 1,215 (+849.22%)
Mutual labels: database, redis
Hedis
Hedis can retrieve data from **ANY** database directly via Redis
Stars: ✭ 90 (-29.69%)
Mutual labels: database, redis
Kangaroo
SQL client and admin tool for popular databases
Stars: ✭ 127 (-0.78%)
Mutual labels: database, redis
Tidis
Distributed transactional NoSQL database, Redis protocol compatible using tikv as backend
Stars: ✭ 1,182 (+823.44%)
Mutual labels: database, redis
Tornadis
async minimal redis client for tornado ioloop designed for performances (use C hiredis parser)
Stars: ✭ 126 (-1.56%)
Mutual labels: async, redis
Datastore
🐹 Bloat free and flexible interface for data store and database access.
Stars: ✭ 99 (-22.66%)
Mutual labels: async, database
Redisgo Async
RedisGo-Async is a Go client for Redis, both asynchronous and synchronous modes are supported,its API is fully compatible with redigo.
Stars: ✭ 60 (-53.12%)
Mutual labels: async, redis
Memento
Fairly basic redis-like hashmap implementation on top of a epoll TCP server.
Stars: ✭ 74 (-42.19%)
Mutual labels: async, redis
Docker Redis Cluster
Dockerfile for Redis Cluster (redis 3.0+)
Stars: ✭ 1,035 (+708.59%)
Mutual labels: database, redis
Tedis
redis client with typescript and esnext for nodejs
Stars: ✭ 109 (-14.84%)
Mutual labels: async, redis
Yii2 Queue
Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman
Stars: ✭ 977 (+663.28%)
Mutual labels: async, redis
Zebra database
A compact, lightweight and feature-rich PHP MySQLi database wrapper
Stars: ✭ 98 (-23.44%)
Mutual labels: database, redis
Async Redis
Light weight wrapper over the node_redis library with first class async & promise support.
Installation
To install the stable version:
npm install --save async-redis
Typescript Support
npm install --save-dev @types/async-redis
Usage Example
Creating Connection
const asyncRedis = require("async-redis");
const client = asyncRedis.createClient();
client.on("error", function (err) {
console.log("Error " + err);
});
const asyncBlock = async () => {
await client.set("string key", "string val");
const value = await client.get("string key");
console.log(value);
await client.flushall("string key");
};
Decorating Existing Connections
const redis = require("redis");
const client = redis.createClient();
const asyncRedis = require("async-redis");
const asyncRedisClient = asyncRedis.decorate(client);
API Information
This library does very little modification to the api of node_redis. It simply appends a promise resolving/rejecting callback for every command.
For information on redis commands and configuration visit node_redis docs.
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].