lru-memorise
JSON →A simple memoization library wrapping a fast LRU cache (tiny-lru). Current stable version is 0.3.1. It supports memoizing both synchronous and asynchronous functions, automatic cache key generation from function arguments via JSON.stringify, configurable TTL and max cache size, and full TypeScript typings. Unlike other memoize libraries, it exposes the underlying cache for inspection and supports custom cache key resolvers. Suitable for Node.js and browsers.
Resources
packagelru-memorise ↗