runsa-redis (npm): * 复用已有ioredis连接,并允许重新指定keyPrefix ```ecmascript 6 //样例代码 let Redis=require('./index'); let redis2 = new Redis({client:ioRedisClient,keyPrefix:'aaa:'}); redis2.get('bbb').then(v=>console.log(v)); //实际key=aaa:bbb
Keywords: redis|ioredis|keyPrefix