@avlutils/redis-client-js
v1.0.8
Published
## Intro
Downloads
18
Readme
Redis
Intro
The module is for redis client by js
you can use ECMAScript to running this module operator redis server
Methods
- set
- get
- mset
- mget
- keys
- lpop
- lpush
- lrange
- lrem
- lset
- ltrim
- del
- pipeline
- ttl
Example
- Connect Example
(function(){
"use strict";
})();
//a simple for our product
const Redis = require("@avlutils/redis-client-js");
const redis = new Redis({host:"redis.avancevl.com"});
// if connect error, it will throw error
- Methods