@tangibl/tangibl-wasm
v0.2.0
Published
WASM target for the tangibl library
Readme
Tangibl WASM
This package provides a WASM interface for the tangibl-rs package.
Getting started
Simply use the package as follows:
import { parse } from "tangibl-wasm";
const ast = parse(topcodes);
if (ast) {
console.log(ast.name);
}As for how to obtain the TopCodes, see the TopCodes WASM package.
Development
Build with the following:
wasm-pack buildTest in a headless browser:
wasm-pack test --headless --firefoxIntegration
If you would like to test the integration of your changes, you can use the NPM project under www/.
This example is hosted on GitHub pages.
