{"repo":"aurijs/jason","free":true,"listed":false,"github":"https://github.com/aurijs/jason","clone":"git clone https://github.com/aurijs/jason.git","description":"Slash database complexity away with jason.","language":"TypeScript","stars":179,"topics":["database","json","lighweight","no-dependencies","bun","node"],"license":"MIT","category":"databases-storage","readme_excerpt":"check out what am i doing on this discussion 😉 jason db 📦 🚀 A simple, lightweight, and embeddable JSON database built with Bun jason is the perfect solution when you need a fast and easy-to-use JSON database in your Bun projects. With features like schema validation, concurrency control, and built-in caching, it provides everything you need in a simple package. ✨ Highlights - 📝 Simple API - CRUD and query JSON documents with just a few lines of code - 🪶 Lightweight & Embeddable - Easy integration without adding bloat to your project - ✅ Schema Validation - Ensure your data integrity - 🔒 Concurrency Control - Prevent update conflicts - 📚 Versioning Support - Track document changes - ⚡ Built-in Caching - Improve read performance - 🔍 Query System - Find documents with custom criteria 🚀 Installation 💻 Quick Example 🛠️ Core API 📦 Initialization Use createJasonDB to initialize your database instance. You define your collections and their schemas in the configuration. 📝 Schema String Syntax The string syntax provides a shorthand for defining fields and indexes: - Format : name:type (type defaults to string if omitted) - Types : string , number , boolean , date , array , record - Modifiers : - @id : UUID Primary Key - ++id : Auto-increment Primary Key - &name : Unique Index - tags : Multi-entry Index (for arrays) - [a+b] : Compound Index 📑 Collection Operations Access collections via db.collections. . 🔍 Querying JasonDB provides a rich set of query helpers for filterin","default_branch":null,"files":null,"tree":[],"storefront":"/r/aurijs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aurijs/jason/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."}