Cushion
CouchDB-style document database library for Deno, built on PouchDB and backed by Deno KV.
🔗 Visit CushionDescription
If you've used CouchDB or PouchDB before and now want that same document-database feel — save a JSON document, query it later, sync it if you need to — but you're building on Deno instead of Node, Cushion gives you that without switching database paradigms.
Cushion is a small, open-source (MIT) TypeScript library that reimplements a CouchDB-style document database API on top of Deno KV, using PouchDB internally. It supports documents with optimistic concurrency control, map-reduce views for querying, and a query builder, all without needing to run a separate CouchDB server — Deno KV is the storage layer. It's published on JSR (the Deno/JavaScript package registry) and is an early, small project (single maintainer, low GitHub star count).
💬 Our review
The short version: if you're already committed to Deno and want a document-database API without standing up a separate CouchDB instance, Cushion is a lightweight, free way to get that — but it's a very young, single-maintainer library, so treat it as an interesting building block rather than a battle-tested production dependency yet.
Against running actual CouchDB or PouchDB against IndexedDB in the browser, Cushion's advantage is native Deno KV integration with no extra server to manage; the trade-off is a much smaller community and no track record. If you need a proven document database today, PouchDB/CouchDB directly or a hosted option is the safer choice; if you're prototyping a Deno project and like the API, Cushion costs nothing to try.
💰 Pricing
📊 Global score
🤖 AI-enriched data
Open source (MIT), gratuit — librairie légère, aucun serveur à héberger (utilise Deno KV)
Pros
API familière type CouchDB (concurrence optimiste, vues map-reduce, query builder)
pas de serveur séparé à héberger (backé par Deno KV)
gratuit et open source (MIT)
publié sur JSR, intégration native à l'écosystème Deno
Cons
projet très jeune, un seul mainteneur, peu d'étoiles GitHub
pas encore de track record en production
communauté et documentation limitées
