From c2f3b1c9c534cadc81ebab3e718832d121cdf9cf Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 15 May 2025 19:14:29 +0200 Subject: WASM and JS port - work in progress --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 384d217..6f3b9d2 100644 --- a/README.md +++ b/README.md @@ -233,6 +233,23 @@ with the comments in nissy.h for more details. NOTE: Support for the Python module is still rudimentary. +### JavaScript (and WebAssembly) + +Bindings for JavaScript via a WebAssembly build (using +[emscripten](https://emscripten.org)) are work in progress. +The JavaScript module can be built with + +``` +./build web +``` + +Some examples can be found in the `web/examples` folder. They can be run +using [nodejs](https://nodejs.org): + +``` +node web/examples/[filename] +``` + ## Cube format This format is a "base 32" encoding of the cube. It is not meant to be -- cgit v1.3