{"repo":"wuchuheng/web-sqlite-js","free":true,"listed":false,"github":"https://github.com/wuchuheng/web-sqlite-js","clone":"git clone https://github.com/wuchuheng/web-sqlite-js.git","description":"web-sqlite-js is a friendly, out-of-the-box SQLite database for the web that makes persistent client-side storage simple for every developer.","language":"JavaScript","stars":18,"topics":["opfs","sqlite","sqlite-web","sqlite-webassembly","sqlite3","sqlite-opfs","web-sqlite-js"],"license":"MIT","category":"databases-storage","readme_excerpt":"web-sqlite-js web-sqlite-js is a friendly, out-of-the-box SQLite database for the web that makes persistent client-side storage simple for every developer. Designed to be truly effortless, it allows you to get a high-performance relational database running in the browser in seconds. Just install, set your HTTP headers, and start querying—no complex infrastructure required. Table of contents - Quick start - Setup HTTP headers - Usage - Transactions - Schema Migrations - Debug mode - Structured Logging Features - Persistent Storage : Uses OPFS for high-performance, persistent file storage. - Non-Blocking : Runs in a Web Worker, keeping your UI responsive. - Concurrency Safe : Built-in mutex ensures safe, sequential execution of commands. - Type-Safe : Written in TypeScript with full type definitions. - Transactions : Supports atomic transactions with automatic rollback on error. - Schema Migrations : Built-in versioning system for database schema changes. - Two-Tier Validation (v2.2.0): Distinguishes between whitespace-only changes and actual SQL changes. - Enhanced Error Messages (v2.2.0): SQL diffs and truncation for better debugging. - Structured Logging : Subscribe to SQL execution logs via onLog() . Quick start Pick the path that fits your setup: Option A: npm / bundler Option B: CDN / script tag (no build step) For quick demos or plain HTML pages you can load the prebuilt module directly: See samples/cdn.html for a copy/paste page you can serve . Heads up: SharedArrayBuff","default_branch":null,"files":null,"tree":[],"storefront":"/r/wuchuheng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wuchuheng/web-sqlite-js/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."}