# @uppy/golden-retriever

> The GoldenRetriever Uppy plugin saves selected files in browser cache to seamlessly resume uploding after browser crash or accidentally closed tab

Latest version **6.0.0** (published 2026-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @uppy/golden-retriever
pnpm add @uppy/golden-retriever
yarn add @uppy/golden-retriever
bun add @uppy/golden-retriever
```

## Health

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

Positive: esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-08-26 |
| First published | 2018-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 108.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30988 |
| Maintainers | kvz, tim-kos, mifi, uppydev |
| Keywords | file uploader, restore files, crash recovery, golden retriever, resumable uploads, uppy, uppy-plugin |

## Links

- npm: https://www.npmjs.com/package/@uppy/golden-retriever
- Repository: https://github.com/transloadit/uppy
- Homepage: https://uppy.io
- Issues: https://github.com/transloadit/uppy/issues
- npm.io page: https://npm.io/package/@uppy/golden-retriever

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.18.1

## Recent versions

- 6.0.0 (latest) — 2026-08-26
- 4.0.0-beta.6 (next) — 2024-06-27
- 5.2.1 — 2025-12-09
- 5.2.0 — 2025-12-02
- 5.1.1 — 2025-10-17
- 5.1.0 — 2025-09-16
- 5.0.0 — 2025-08-22
- 4.2.3 — 2025-08-20
- 4.2.2 — 2025-08-01
- 4.2.1 — 2025-07-29
- 4.2.0 — 2025-07-29
- 4.1.1 — 2025-01-09
- 4.1.0 — 2025-01-06
- 4.0.2 — 2024-12-05
- 4.0.1 — 2024-10-31
- … 82 more at https://npm.io/package/@uppy/golden-retriever/versions

## README

# @uppy/golden-retriever

<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">

[![npm version](https://img.shields.io/npm/v/@uppy/golden-retriever.svg?style=flat-square)](https://www.npmjs.com/package/@uppy/golden-retriever)
![CI status for Uppy tests](https://github.com/transloadit/uppy/workflows/CI/badge.svg)
![CI status for Companion tests](https://github.com/transloadit/uppy/workflows/Companion/badge.svg)
![CI status for browser tests](https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg)

The GoldenRetriever plugin saves selected files in your browser cache (Local
Storage for metadata, then Service Worker for all blobs + IndexedDB for small
blobs), so that if the browser crashes, Uppy can restore everything and continue
uploading like nothing happened. Read more about it
[on the blog](https://uppy.io/blog/2017/07/golden-retriever/).

Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.

## Example

```js
import Uppy from '@uppy/core'
import GoldenRetriever from '@uppy/golden-retriever'

const uppy = new Uppy()
uppy.use(GoldenRetriever, {
  // Options
})
```

## Installation

```bash
$ npm install @uppy/golden-retriever
```

Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Smart CDN. In that case `Uppy` will attach itself to the
global `window.Uppy` object. See the
[main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the
[Uppy website](https://uppy.io/docs/golden-retriever).

## License

[The MIT License](./LICENSE).

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