Snort has a full sqlite database in a worker, it works very well
Idk does LMDB support non-memory mapped files? If it does then you could just use the FileSystem API which sqlite-wasm uses and have full lmdb in browser, that would be epic.
https://git.v0l.io/Kieran/snort/src/branch/main/packages/worker-relay