Skip to main content
Home

@std/cache@0.2.1
Built and signed on GitHub Actions

UNSTABLE: Cache utilities

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a month ago (0.2.1)

default

In-memory cache utilities, such as memoization and caches with different expiration policies.

c
LruCache

Least-recently-used cache.

T
MemoizationCacheResult

The result of a memoized function, as stored in its cache.

f
memoize

Cache the results of a function based on its arguments.

c
TtlCache

Time-to-live cache.

c
LruCache

Least-recently-used cache.

T
MemoizationCache

A cache suitable for use with memoize.

T
MemoizationCacheResult

The result of a memoized function, as stored in its cache.

f
memoize

Cache the results of a function based on its arguments.

c
TtlCache

Time-to-live cache.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.