Blazor WASM is working on supporting the calling of other WASM libraries.
here is a video of Blazor WASM calling SqlLite
note: there were some issues with the .net 6 release, don't know if they were fixed.
while this is great technology example, I'm not use I'd use such a heavy approach. As its only an in-memory database, it seems Linq to objects would work just as well and a much simpler and more stable solution. As with the SqlLite, you cache the objects to local storage.