getorset-anything
Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.
fifo-ttl-cache
An efficient in-memory FIFO cache with a fixed TTL for Node.js projects, designed to automatically remove outdated records. Unlike widely used LRU caches, FIFO caches do not prioritize retaining popular keys for extended durations. This simplified approac