# @hi-ui/use-cache

> A sub-package for @hi-ui/hooks.

Latest version **5.0.0** (published 2026-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hi-ui/use-cache
pnpm add @hi-ui/use-cache
yarn add @hi-ui/use-cache
bun add @hi-ui/use-cache
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-06-06 |
| First published | 2021-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 879 |
| Author | HiUI |
| Maintainers | sivan, solarjoker, lanzhi_lee, zhouyun |

## Links

- npm: https://www.npmjs.com/package/@hi-ui/use-cache
- Repository: https://github.com/XiaoMi/hiui
- Homepage: https://github.com/XiaoMi/hiui/tree/master/packages/hooks/use-cache#readme
- Issues: https://github.com/XiaoMi/hiui/issues
- npm.io page: https://npm.io/package/@hi-ui/use-cache

## Recent versions

- 5.0.0 (latest) — 2026-06-06
- 5.0.0-rc.0 (rc) — 2026-06-02
- 5.0.0-experimental.0 (experimental) — 2026-02-05
- 5.0.0-alpha.0 (alpha) — 2025-09-29
- 5.0.0-canary.2 (canary) — 2025-07-06
- 4.0.0-beta.5 (feature) — 2022-05-17
- 5.0.0-canary.1 — 2025-07-04
- 5.0.0-canary.0 — 2025-05-14
- 4.0.4 — 2023-11-21
- 4.0.3 — 2023-11-21
- 4.0.2 — 2023-11-21
- 4.0.1 — 2022-08-15
- 4.0.0 — 2022-07-23
- 4.0.0-beta.4 — 2022-04-15
- 4.0.0-beta.3 — 2022-03-23
- … 6 more at https://npm.io/package/@hi-ui/use-cache/versions

## README

# `@hi-ui/use-cache`

> TODO: description

## Usage

```
const useCache = require('@hi-ui/use-cache');

// TODO: DEMONSTRATE API
```

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