libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

Package WebAssembly build of libSQL

Open penberg opened this issue 1 year ago • 2 comments

We currently only support local database with Node, but with a WebAssembly build of libSQL can unlock that in other environments such as the browser. IOW, we need a libsql package similar to https://www.npmjs.com/package/@sqlite.org/sqlite-wasm and write that up to the client SDK.

penberg avatar Jan 04 '24 18:01 penberg

+1 to this.

If you're going to port this to browser, I'd recommend backing it with the Origin Private File System and ensuring it can be used from a web worker for improved performance, possibly adopting a Comlink like API for accessing from other threads.

Snugug avatar Mar 11 '24 12:03 Snugug

+1

ibilux avatar Jun 16 '24 15:06 ibilux