{"library":"sqlite-worker","type":"library","category":null,"description":"sqlite-worker is a persistent SQLite database library for Web pages, Web Workers, and Service Workers (v0.9.0). It wraps sql.js and sqlite-tag to provide a tagged template literal API for queries, with automatic persistence via IndexedDB. Unlike sql.js alone, it manages the database file lifecycle and offers both main-thread (init) and worker-based (SQLiteWorker) execution. The library requires manual dist folder path configuration in Worker contexts due to a browser bug. Release cadence is irregular; latest version is 0.9.0.","language":"javascript","status":"active","version":"0.9.0","tags":["javascript","sqlite","persistent","indexeddb","worker"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install sqlite-worker","imports":["import { SQLiteWorker } from 'sqlite-worker'","import { init } from 'sqlite-worker'","importScripts('./dist/sw.js'); const { sqliteWorker } = self;"]},{"cmd":"yarn add sqlite-worker","imports":[]},{"cmd":"pnpm add sqlite-worker","imports":[]}],"homepage":"https://github.com/WebReflection/sqlite-worker-#readme","github":"https://github.com/WebReflection/sqlite-worker-","docs":null,"changelog":null,"pypi":null,"npm":"sqlite-worker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}