0.1.0 • Published 6 years ago

wasm-fuzzy-search v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
6 years ago

wasm-fuzzy-search

A simple fuzzy search function written in Rust and compiled to WASM

Purpose

Playing around with the rustwasm toolchains.

Development

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.

Production

TODO: publish to npm

0.1.0

6 years ago