From 98d325f561ab0b654b2ab89e5f487475aa5ebcb4 Mon Sep 17 00:00:00 2001 From: jalpp Date: Sun, 12 Jul 2026 10:02:44 -0400 Subject: [PATCH 1/2] docs: add usage instructions for stockfish.js in React.js Added section on using stockfish.js in React.js and web applications, including a reference to the @jalpp/stockfishts library. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 89512a7a..6817c1fc 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,10 @@ Stockfish.js is simply a raw engine. You'll need to bring the rest of the parts To learn how to use the engine in your own projects, see the examples folder. In particular, see `examples/loadEngine.js` for a sample implementation of how to load and run engines. +### How do I use stockfish.js in React.js or in web applications? + +You can explore (@jalpp/stockfishts library)[https://www.npmjs.com/package/@jalpp/stockfishts], it is a TypeScript library for running Stockfish engines from both frontend and backend projects. It supports WebAssembly-based engines, worker-based execution, and a small, ergonomic API for evaluating chess positions and receiving incremental updates from stockfish.js wasm engine files. + ### How do I compile the engine? You only need to compile the engine if you want to make changes to the engine itself. From 420b695d9fec75e947ad4422806d3906173cebdd Mon Sep 17 00:00:00 2001 From: jalpp Date: Sun, 12 Jul 2026 10:03:38 -0400 Subject: [PATCH 2/2] docs: link formatting for @jalpp/stockfishts library --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6817c1fc..6390e699 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ To learn how to use the engine in your own projects, see the