Package Exports
- @hapi/catbox-object
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hapi/catbox-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
catbox-object
Memory object adapter for catbox. This adapter is not designed to share a common cache between multiple processes (e.g. in a cluster mode). It uses a single interval timeout to look for expired records and clean them from memory. Unlike the catbox-memory cache, it does not clone objects stored (in either direction) or keep track of memory usage.
Options
maxSize- sets an upper limit on the number of items that can be stored in the cache. Once this limit is reached no additional items will be added to the cache until some expire. Defaults to1000.minCleanupIntervalMsec- the minimum number of milliseconds in between each cache cleanup. Defaults to 1 second (1000).