treemaker-wasm 0.1.0

wasm-bindgen package for the TreeMaker 5.0.1 Rust port
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# treemaker-wasm

`wasm-bindgen` package for the TreeMaker 5.0.1 Rust engine port.

The API loads trees into integer handles and exposes summary, check, optimizer,
crease-pattern build, save, and free operations. JavaScript errors are returned
as structured values containing a stable `code` plus a human-readable message.

```sh
wasm-pack build crates/treemaker-wasm --target bundler
wasm-pack test --node crates/treemaker-wasm
```

For native Rust use, prefer `treemaker-core`. For command-line use, prefer
`treemaker-cli`.

License: `GPL-2.0-or-later`.