{"repo":"oliver-oloughlin/kvdex","free":true,"listed":false,"github":"https://github.com/oliver-oloughlin/kvdex","clone":"git clone https://github.com/oliver-oloughlin/kvdex.git","description":"A high-level abstraction layer for Deno KV with zero third-party dependencies by default 🦕🗝️","language":"TypeScript","stars":251,"topics":["deno","kv-store","database","db","kv","kvstore","deno-kv","denokv","orm","orm-library"],"license":"MIT","category":"databases-storage","readme_excerpt":"kvdex kvdex is a high-level abstraction layer for Deno KV with zero third-party dependencies by default. Its goal is to enhance the experience of using Deno's KV store through additional features such as indexing, strongly typed collections and serialization/compression, while maintaining as much of the native functionality as possible, like atomic operations, real-time data updates and queue listeners. Also works with other runtimes such as Node.js and Bun, and has compatibility options for the browser. kvdex accepts Standard Schema compliant models, which means you can bring your favourite validation library, or use the built-in inference-only model. Supported Deno versions: ^2.3.0 Highlights - Strongly typed CRUD operations for selected and ranged documents. - Primary (unique) and secondary (non-unique) indexing. - Support for Standard Schema models (Zod, ArkType, Valibot and more). - Serialized, compressed and segmented storage for large objects. - Support for atomic operations. - Listen to real-time data updates. - Support for pagination and filtering. - Message queues at database and collection level with topics. - Support for different KV-backends, such as Map , localStorage and IndexedDB . Table of Contents - kvdex - Highlights - Table of Contents - Models - Database - Collection Options - idGenerator - indices - encoder - history - Collection Methods - find() - findByPrimaryIndex() - findBySecondaryIndex() - findMany() - findHistory() - findUndelivered() - add() - ad","default_branch":null,"files":null,"tree":[],"storefront":"/r/oliver-oloughlin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oliver-oloughlin/kvdex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}