I am using the ffish npm library which uses Fairy Stockfish, a version of the Stockfish engine. I am able to create a board
ffish
let board = new ffish.Boa