unstorage
Universal Key-Value Storage.

Unstorage is TypeScript library that provides an async key-value storage API with conventional features like multi driver mounting, watching, working with metadata and has 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

Unstorage is shipped with 20+ built-in drivers for different platforms: Memory (default), FS, Redis, Memory, MongoDB, CloudFlare, GitHub...

Snapshots

Expand your server and add capabilities. Your codebase will scale with your project.

Multi Storages

Unix-style driver mounting to combine storages on different mounts.

JSON friendly

Unstorage automatically serialization and deserialization JSON values.

Binary Support

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

Made by community