Get name, or if specified, the value of key. Invokes the cache method, so that cache name will be created it doesn't already exist. If key is not passed, the entire cache (name) is returned.
Example
Params
name{String}
returns{Object}: Returns cache name, or the value of key if specified
About
Related projects
base: base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… more | homepage
map-cache: Basic cache object for storing key-value pairs. | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb: