If you want to use In-Memory storage you may install the package by following:
$ npm install memory-ciks
Initializes storage object.
Stores calculated data to cache. Params:
- alias — alias of the producer function used to calculate the data;
- options — options passed to the producer function;
- data — calculated data;
- ttl — time to live for the cache.
Gets cached value. Params:
- alias — alias of the producer function;
- options — options passed to the producer function;
Clears all expired caches in the storage.