Since pmtree has a general design (eg using in-memory db like hashmaps) it can be used in WASM. Also, it makes sense to pay attention to the potential use of IndexedDB, which can be used in WASM.