Skip to content
Cushion logo

Cushion

A CouchDB-style document database for Deno

Cushion is a CouchDB-style document database package built for Deno, powered by PouchDB and backed by Deno KV. It implements the PouchDB adapter interface directly, providing developers with features like automatic revision tracking, conflict resolution, map-reduce views, and replication using Deno's built-in database.

The package solves the challenge of integrating a robust document store into Deno applications while leveraging familiar PouchDB APIs and the underlying performance and simplicity of Deno KV. It is designed for Deno developers who need document storage with optimistic concurrency, map-reduce capabilities, and query building out of the box.

Use Cases

  • Deno developers building applications with document storage
  • Developers implementing map-reduce views in Deno
  • Applications requiring optimistic concurrency control for concurrent writes
  • Projects utilizing custom Deno.Kv instances or in-memory stores for testing