node-ecache
Easy use Memory and Redis cache implementation
Install
$ npm install ecache --save
How to use
;// const { InMemoryCache, RedisCache, MRCache } = require("ecache"); ;;; ; // Set Dataawait cache.setKEY, val;// Get Data;// Delete Dataawait cache.deleteKEY; // Use getData and setData// On concurrency query just run oncecache.setData"getList",mysql.queryAsync`SELECT * FROM list where t = ""`;;