# @pacote/lru-cache

> Least-recently used cache.

Latest version **0.2.1** (published 2026-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pacote/lru-cache
pnpm add @pacote/lru-cache
yarn add @pacote/lru-cache
bun add @pacote/lru-cache
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2026-10-08 |
| First published | 2023-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 27 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Luís Rodrigues |
| Maintainers | goblindegook |

## Links

- npm: https://www.npmjs.com/package/@pacote/lru-cache
- Repository: https://github.com/PacoteJS/pacote
- Homepage: https://github.com/PacoteJS/pacote#readme
- Issues: https://github.com/PacoteJS/pacote/issues
- npm.io page: https://npm.io/package/@pacote/lru-cache

## Recent versions

- 0.2.1 (latest) — 2026-10-08
- 0.2.0 — 2026-03-31
- 0.1.2 — 2024-10-05
- 0.1.1 — 2023-08-25
- 0.1.0 — 2023-06-19

## README

# @pacote/lru-cache

![version](https://badgen.net/npm/v/@pacote/lru-cache)
![minified](https://badgen.net/bundlephobia/min/@pacote/lru-cache)
![minified + gzip](https://badgen.net/bundlephobia/minzip/@pacote/lru-cache)

Least-recently used cache.

## Installation

```bash
yarn add @pacote/lru-cache
```

## Documentation

API documentation for [`@pacote/lru-cache`](https://pacotejs.github.io/pacote/modules/_pacote_lru-cache.html).

## License

MIT © [Luís Rodrigues](https://goblindegook.com).

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