@automerge/subduction
v0.7.0-alpha.1
Published
Wasm/JavaScript bindings for Subduction (browser and Node.js)
Readme
Subduction Wasm bindings
[!WARNING] This is an early release preview. It has a very unstable API. No guarantees are given. DO NOT use for production use cases at this time. USE AT YOUR OWN RISK.
Build package
wasm-pack build --target web --out-dir pkgRun tests
Install dependencies:
pnpm installInstall Playwright's browser binaries:
pnpm run test:installRun tests:
pnpm testView Playwright report:
pnpm run test:reportNaming Conventions
wasm-bindgen-generated types ownership rules can be confusing and cumbersome, with different behavior depending on which side of the Wasm boundary your type was created from. To help keep this straight, we adopt the naming convention:
[!NOTE] Types exported from Rust are prefixed with
Wasm. Types imported from JS are prefixed withJs.
