@wry/caches
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@wry/caches

Various cache implementations, including but not limited to

  • StrongCache: A standard Map-like cache with a least-recently-used (LRU) eviction policy and a callback hook for removed entries.

  • WeakCache: Another LRU cache that holds its keys only weakly, so entries can be removed once no longer retained elsewhere in the application.

Readme

Keywords

none

Package Sidebar

Install

npm i @wry/caches

Weekly Downloads

1,592,177

Version

1.0.1

License

MIT

Unpacked Size

63.8 kB

Total Files

26

Last publish

Collaborators

  • benjamn