stockfish.js icon indicating copy to clipboard operation
stockfish.js copied to clipboard

How to run in node?

Open honkskillet opened this issue 5 years ago • 1 comments

How to load from node?

If I do

var stockfish = require("stockfish.js");

I get

failed to asynchronously prepare wasm: ReferenceError: postMessage is not defined

honkskillet avatar Jun 28 '20 04:06 honkskillet

  let stockFish = require("stockfish");

  let engine = stockFish();

michaldobiezynski avatar May 15 '21 15:05 michaldobiezynski