Copied from tiny-lru and modified to support typescript

Type Parameters

  • T extends unknown

Constructors

Properties

first: null | Item<T> = null
items: Record<string, Item<T>> = ...
last: null | Item<T> = null
max: number
resetTtl: boolean
size: number
ttl: number

Methods