@avlutils/redis-client-ts
v1.1.8
Published
js string datetime object array convert validate authenticate storage ts typescript
Downloads
31
Readme
redis-client-ts
Introduction
The redis client module for TypeScript
Methods
- set
- get
- mset
- mget
- keys
- lpop
- lpush
- lrange
- lrem
- lset
- ltrim
- del
- pipeline
- ttl
Example
- Connect Example
import Redis from "@avlutils/redis-client-ts"
const redis = new Redis({host:"redis.avancevl.com"});
// if connect error, it will throw error
- Methods