Awesome
libyara-wasm
WASM-based JS Library using a c++ wrapper around libyara. Currently only exposes methods required by CyberChef but may potentially expose more in the future. No documentation at the moment.
Build
mkdir build && cd build
emconfigure cmake ..
emmake make -jx # where x is number of threads to build with