stockfish.js
stockfish.js copied to clipboard
How to run in node?
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
let stockFish = require("stockfish");
let engine = stockFish();