{"library":"web-sqlite-js","type":"library","category":null,"description":"web-sqlite-js v2.3.0 is a persistent, non-blocking SQLite database for the browser using OPFS and Web Workers. It offers type-safe TypeScript APIs, transaction support, schema migrations, and two-tier validation (v2.2.0+). Compared to alternatives like sql.js or sqlocal, it focuses on out-of-the-box persistence and concurrency safety via mutex, with built-in logging and enhanced error messages. Released under MIT license with monthly updates.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript","sqlite","wasm","opfs","web-worker","database","typescript","web-sqlite"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install web-sqlite-js","imports":["import openDB from 'web-sqlite-js'","const openDB = require('web-sqlite-js').default","import openDB from 'web-sqlite-js';\ntype DB = Awaited<ReturnType<typeof openDB>>","import type { Transaction } from 'web-sqlite-js'"]},{"cmd":"yarn add web-sqlite-js","imports":[]},{"cmd":"pnpm add web-sqlite-js","imports":[]}],"homepage":"https://web-sqlite-js.wuchuheng.com","github":"https://github.com/wuchuheng/web-sqlite-js","docs":null,"changelog":null,"pypi":null,"npm":"web-sqlite-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}