Precompiled SQLite 3.50.4 integrated with sqlite-vec v0.1.6 as a WebAssembly module for browser and Node.js environments. This package provides full SQLite WASM API (OO1 wrapper), worker thread support, and OPFS VFS, with sqlite-vec auto-initialized for vector similarity search. Built using the official SQLite WASM build system, it includes FTS5, R-Tree, JSON1 extensions and is served as ESM/bundler-friendly builds. Version 0.1.0 targets Node >=18 and modern browsers with COOP/COEP headers required for SharedArrayBuffer features. Key differentiator: no server needed for vector search in the browser, pure WASM with auto-init.
npm install sqlite-vec-wasmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates initializing sqlite3 wasm module, creating a vec0 virtual table, inserting vectors, and querying for similar vectors using sqlite-vec.
Use the included server.js or configure your server to send Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp.
Simply use the module as shown in examples; no manual init required.
Use dynamic import or import statement. Do not use require('sqlite-vec-wasm').Use the worker1.js entry points and serve opfs-async-proxy.js alongside.
Use import sqlite3InitModule from 'sqlite-vec-wasm/dist/sqlite3.mjs'; and ensure your environment supports ES modules.
Serve your page with the proper headers. Use the included server.js or a server configured as described in the README.
Ensure you await sqlite3InitModule() and use the returned module object, not the import default.
No dependency data recorded yet.