assoc-cache
A simple local memory cache via an associative array support .set() .get()
Installation
npm install assoc-cache
Usage
var cache = ; // usagecache;cache;
Which should print
bar
API
set
function(key, value)
- stores a value
get
function(key, callback)
- callback value or
undefined