sindresorhus/
Simple "Least Recently Used" (LRU) cache
USD raised
Recent activities
Actual cache size can go to double the maxSize
onEviction should be called when deleting entries or clearing cache
Best practices – single instance across the entire app or multiple instances?
Is there a number of keys after which the performance start to deteriorate?
"TypeError: Converting circular structure to JSON" on util.inspect()
Support also CommonJS
Array as a key not working
Consider adding a way to discard a certain number of caches
How to get the `maxSize` of a cache instance?
Pass generic constraints to Map
Documentation for `.set` is wrong.
oldCache加个设置项可以关闭
feat: if third argument is a number to `set(key, value, opts || maxAge)`, then assume it is `maxAge`
Typescript errors - TypeError: QuickLRU is not a constructor
Starting from version 6.0 quick-lru is not compatable with `got`
Latest version causes an exception in ts-jest
Explicit maxAge in set() is stored as relative
Cast `QuickLRU` to `Map`
cache.set maxAge property is bug?
resize is undefined
ESM file extension
`.entries` method
Dynamic size change
Support max-age
maxSize is not correctly enforced
© 2019 BoostIO, Inc.