1.0.1 • Published 4 years ago
lisa.cache.js v1.0.1
docs
special here
npm i lisa.cache.js --save
juet do it
现在支持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))