0.2.0 • Published 11 months ago

@tangibl/tangibl-wasm v0.2.0

Weekly downloads
-
License
GPL-2.0
Repository
github
Last release
11 months ago

Tangibl WASM

build npm

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 build

Test in a headless browser:

wasm-pack test --headless --firefox

Integration

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.

0.2.0

11 months ago

0.1.0

11 months ago