This package relies on the Rust implementation of the TopCode library originally implemented by Michael Horn. This can be seen as a simple web and JavaScript-compatible interface for the TopCode scanner.
The advantage of this package is that any performance improvements to the Rust package will be absorbed by this package for free.
A demo of this package is available on GitHub pages
Build with the following:
wasm-pack build
Test in a headless browser:
wasm-pack test --headless --firefox
If you would like to test the integration of your changes, you can use the NPM example project under www/.