Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.
-
Updated
Jun 5, 2024 - TypeScript
Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.
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 approach reduces overhead and typically delivers faster response times.
Add a description, image, and links to the js-map topic page so that developers can more easily learn about it.
To associate your repository with the js-map topic, visit your repo's landing page and select "manage topics."