roc/examples/nodejs-interop/wasm/README.md
2023-05-01 15:54:53 -04:00

255 B

NodeJS Interop

This is an example of calling Roc code from Node.js.

You'll need to have Zig installed. Run this from the current directory:

roc build --target=wasm32
node hello.js

That's it!