map-age-cleaner@0.2.0
// Automatically cleanup expired items in a Map
$ npm install map-age-cleaner
downloads/wk
5,362,015
license
MIT
version
0.2.0
published
Aug 23, 2021
What is map-age-cleaner?
map-age-cleaner automatically removes expired entries from a Map based on configurable age limits. Use this package when you need a Map that doesn't grow indefinitely with stale data, such as caching scenarios where you want items to expire after a certain time. It handles the cleanup logic so you don't have to manually track and remove old entries.
Links
Keywords
Dependencies (1)
Maintainers
samverschueren