redisnode
v1.0.6
Published
nodejs & typescript module for Redis Server (with pipelining)
Downloads
4
Readme
Overview
nodejs and typescript module for Redis Server
Features
- Pipelining
- GET, SET, HGET, HSET, HGETALL, ZADD, ZREM, ZRANGE, FLUSHALL
Examples
let redis = new Redis();
redis.connect('localhost').then(()=>{
redis.flushall()
.hset('PIKACHU','name','Pikachu')
.hset('PIKACHU','attack', 18)
.hgetall('PIKACHU')
.then((responses)=>{
responses.map((response)=>{
console.log(response);
})
redis.disconnect().then(()=>{
console.log('disconnected');
});
})
})