{"library":"sql-wasm","type":"library","category":null,"description":"SQLite compiled to WebAssembly via Emscripten, version 1.1.4. Provides a synchronous-like API for running SQL queries in both browser and Node.js environments with minimal overhead. Unlike the more common sql.js, sql-wasm requires asynchronous initialization by fetching the .wasm file from network or filesystem, and omits Web Worker support. It ships TypeScript types and aims to be a drop-in replacement with a nearly identical API. Release cadence is low; primarily a port of sql.js with active maintenance.","language":"javascript","status":"active","version":"1.1.4","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install sql-wasm","imports":["import createSqlWasm from 'sql-wasm'","import createSqlWasm from 'sql-wasm'; const sql = await createSqlWasm(); const db = new sql.Database();"]},{"cmd":"yarn add sql-wasm","imports":[]},{"cmd":"pnpm add sql-wasm","imports":[]}],"homepage":"https://github.com/ryan-codingintrigue/sql-wasm#readme","github":"https://github.com/ryan-codingintrigue/sql-wasm","docs":null,"changelog":null,"pypi":null,"npm":"sql-wasm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}