a node internal (in-memory) caching module
Added method getTtl
to get the time when a key expires. See #49
errorOnMissing
to throw/callback an error o a miss during a .get( "key" )
changed return format of .get()
with a error return on a miss and added the .mget()
method. Side effect: Performance of .get() up to 330 times faster!
This Release is planed to be published to NPM until Feb. 2015.
added .keys()
method to list all existing keys.
fix for setting numeric values. Thanks to kaspars + optimized key ckeck.
Small change for better ttl handling
Made callback
s optional.
So it's now possible to use a syncron syntax.
The old syntax should also work well.
Added events set
, del
, expired
and ´flush´ to nodecache to react on chaning data.