czv/czv-wasm/examples/node-demo
rzmk e84c5bec8b
refactor: use options object for WASM function args, improve docs
- Add relevant links to all READMEs and source code
- Resolve clippy lints

czv:

- Add more docs for top-level items
- Add suggestion to use builder methods instead of functions
- Disable slice and slice tests until operation is complete

czv-wasm:

- Use tsify_next for allowing objects as parameters
- Add nodejs example and instructions
2024-06-20 16:28:53 -04:00
..
README.md refactor: use options object for WASM function args, improve docs 2024-06-20 16:28:53 -04:00
sample.ts refactor: use options object for WASM function args, improve docs 2024-06-20 16:28:53 -04:00

To run this example:

  1. Build the nodejs compatible bundle in the czv-wasm directory with wasm-pack build -t nodejs --release --out-name czv-ts.
  2. Run bunx tsx sample.ts (or npx, pnpx, etc.).