Immutable Cache
Configurable cache, based on immutable.js.
Example
; let cache = maxSize: 100; // cache key 'key' with value 'value'cache = cache; // check if key is cachedcache; // truecache; // false cache; // 'value'cache; // undefined
Options
Name | Description |
---|---|
maxSize |
maximum number of keys stored in cache |
License
Immutable-Cache is freely distributable under the terms of the MIT license.