# @pacote/memoize

> Memoization function.

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

## Install

```sh
npm install @pacote/memoize
pnpm add @pacote/memoize
yarn add @pacote/memoize
bun add @pacote/memoize
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2026-10-08 |
| First published | 2018-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Luís Rodrigues |
| Maintainers | goblindegook |
| Keywords | memoize, fp, functional programming |

## Links

- npm: https://www.npmjs.com/package/@pacote/memoize
- 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/memoize

## Dependencies (1)

- [@pacote/lru-cache](https://npm.io/package/@pacote/lru-cache.md) ^0.2.1

## Recent versions

- 3.0.2 (latest) — 2026-10-08
- 3.0.1 — 2026-04-01
- 3.0.0 — 2026-03-31
- 2.1.3 — 2025-02-25
- 2.1.2 — 2024-10-05
- 2.1.1 — 2023-08-25
- 2.1.0 — 2023-06-19
- 2.0.2 — 2023-06-15
- 2.0.1 — 2023-04-22
- 2.0.0 — 2023-04-13
- 1.1.8 — 2022-09-02
- 1.1.6 — 2021-08-13
- 1.1.5 — 2020-11-27
- 1.1.4 — 2020-11-14
- 1.1.3 — 2020-09-05
- … 9 more at https://npm.io/package/@pacote/memoize/versions

## README

# @pacote/memoize

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

Speed up consecutive calls of the same function with the same arguments by caching its results.

## Installation

```bash
yarn add @pacote/memoize
```

## License

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

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