lisa.cache.js
v1.0.1
Published
forked from node-cache
Downloads
1
Readme
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))