unstorage
Universal Key-Value.

Unified key-value storage API with conventional features and 20+ built-in drivers.

A simple, small, and fast key-value storage library for JavaScript.

Runtime Agnostic

Your code will work on any JavaScript runtime including Node.js, Bun, Deno and Workers.

Built-in drivers

Choose from 30+ drivers for memory, filesystems, browsers, databases, and cloud platforms.

Snapshots

Export and restore storage contents with plain JavaScript objects.

Multiple storages

Mount different drivers under key prefixes and access them through one storage instance.

JSON-friendly

Unstorage automatically serializes and deserializes JSON values.

Binary support

Store binary and raw data like images, videos, audio files, etc.