Before this release, JS package didn't work in Chrome: `RangeError: WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.compile, or compile on a worker thread.` Now it does, but the API had to be changed. Now you have to call `init` before using the package, for example:
js
import init, { validateChart } from "chord-chart-wasm";
await init();
validateChart("| C |");
Note that the Python package remains unchanged.