1.1.1 • Published 5 years ago

mem-cluster-cache v1.1.1

Weekly downloads
14
License
MIT
Repository
github
Last release
5 years ago

Overview

Library for read, write redis

Support

  • Save json object
  • Get json object
  • Remove
  • Remove by pattern

How to use

  • Install
    npm install mem-cluster-cache
  • Example
    cacheService=new redis.CacheService({
        port: 6379,          
        host: "localhost"
    })
    cacheService._db.on('connect',function () {
      ///
    });
    cacheService.saveObject("things","name",{name:"thing1", age:40}).then(function(){
        ///
    }).catch(function(err){
        ///
    })
1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago