UNPKG

transitory

Version:

In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.

10 lines (9 loc) 173 B
/** * The reason something was removed from a cache. */ export enum RemovalReason { EXPLICIT = 'explicit', REPLACED = 'replaced', SIZE = 'size', EXPIRED = 'expired' }