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

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

  • 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 serializes and deserializes JSON values.

  • Binary Support

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