Go to file
Arthur Lu 65516fbd50 move wfa.js glue script to root,
add minify wfa.js job to build command
2024-10-29 17:36:25 +00:00
pkg various optimizations to compute time, 2024-10-29 17:03:19 +00:00
test rewrite in go and compile to wasm 2024-10-24 18:07:10 +00:00
.gitignore rewrite in go and compile to wasm 2024-10-24 18:07:10 +00:00
go.mod rewrite in go and compile to wasm 2024-10-24 18:07:10 +00:00
main.go rewrite in go and compile to wasm 2024-10-24 18:07:10 +00:00
Makefile move wfa.js glue script to root, 2024-10-29 17:36:25 +00:00
README.md add import instructions to README 2024-10-24 18:29:50 +00:00
wfa.js move wfa.js glue script to root, 2024-10-29 17:36:25 +00:00

Using WFA-JS

Download wfa.js and wfa.wasmfrom releases to your project. Add to your script:

import wfa from "./wfa.js"
await wfa("<path to wasm>")
console.log(wfAlign(...))

Where <path to wasm> is the path from the site root ie. ./scripts/wfa.wasm. This will depend on your project structure.