Front-end library to be called from Javascript. Targets WASM.
In true Javascript tradition, this part of the library does not support error handling.