npm i lisa.cache.js --save
现在支持key为任何对象
var cache = require('lisa.cache.js');
var keyObj = {
a : 'hello'
}
cache.put(keyObj, 'great')
console.log(cache.get(keyObj))
keyObj.b = 'yes'
keyObj.a = 'c'
console.log(cache.get(keyObj))
npm i lisa.cache.js --save
现在支持key为任何对象
var cache = require('lisa.cache.js');
var keyObj = {
a : 'hello'
}
cache.put(keyObj, 'great')
console.log(cache.get(keyObj))
keyObj.b = 'yes'
keyObj.a = 'c'
console.log(cache.get(keyObj))
npm i lisa.cache.js
0
1.0.1
BSD-2-Clause
7.7 kB
4