A simple fuzzy search function written in Rust and compiled to WASM
Playing around with the rustwasm toolchains.
First please follow these steps to install Rust & deps.
Second:
$ git clone https://github.com/andrei-cacio/wasm-fuzzy-search
$ cd wasm-fuzzy-search
$ bash build.sh
$ cd pkg
$ npm link
Now that we have locally built and linked our NPM module, we will need an app to use it:
$ git clone https://github.com/andrei-cacio/fuzzy-search-app
$ cd fuzzy-search-app
$ npm i
$ npm start
Now we can go to http://localhost:8080 and have some fun.
TODO: publish to npm