# @wry/caches

> Various cache implementations

Latest version **1.0.1** (published 2023-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wry/caches
pnpm add @wry/caches
yarn add @wry/caches
bun add @wry/caches
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-11-28 |
| First published | 2023-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 62.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 91 |
| Author | Ben Newman |
| Maintainers | benjamn |

## Links

- npm: https://www.npmjs.com/package/@wry/caches
- Repository: https://github.com/benjamn/wryware
- Issues: https://github.com/benjamn/wryware/issues
- npm.io page: https://npm.io/package/@wry/caches

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 1.0.1 (latest) — 2023-11-28
- 1.0.0 — 2023-11-10

## README

# @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.

---
_Source: https://npm.io/package/@wry/caches · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
