An in-memory cache implementation that expires the least recently used items, and limits cache size by a maximum number of items.
A cache object can be instantiated in memory. It requires the max number of records as an argument:
const cache = new Cache<string>({ maxSize: 100 });