ttl-set

Like a JavaScript Set, but with a TTL on entries

memoize

Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input