sindresorhus/
Simple "Least Recently Used" (LRU) cache
USD raised
Recent activities
Actual cache size can go to double the maxSize
Typescript errors - TypeError: QuickLRU is not a constructor
Support max-age
Dynamic size change
`.entries` method
ESM file extension
resize is undefined
cache.set maxAge property is bug?
Cast `QuickLRU` to `Map`
Explicit maxAge in set() is stored as relative
Latest version causes an exception in ts-jest
feat: if third argument is a number to `set(key, value, opts || maxAge)`, then assume it is `maxAge`
oldCache加个设置项可以关闭
Documentation for `.set` is wrong.
Pass generic constraints to Map
How to get the `maxSize` of a cache instance?
Array as a key not working
Support also CommonJS
© 2019 BoostIO, Inc.