@ty-ras-extras/cache
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Typesafe REST API Specification Extras - Async Value Caching

Coverage

This folder contains functions which allow creation of objects usable for caching asynchronously (via Promise) acquireable values. The module entrypoints are createInMemoryAsyncCache for caching anything which has a string key. Additionally, createInMemoryBiDiAsyncCache is also exposed, for bidirectionally caching strings which are both keys and values, and are both unique.

Readme

Keywords

none

Package Sidebar

Install

npm i @ty-ras-extras/cache

Weekly Downloads

1,732

Version

2.0.0

License

MIT

Unpacked Size

54.4 kB

Total Files

15

Last publish

Collaborators

  • staz