This is a Oop-style chess engine that can be used as a backend for a web chess game.
const Game = require("oop-chess");
Game.init("andersson", "johnsson");
console.log(Game.status());
Game.movePiece("B", 1, "C", 1)
console.log(Game.status());
Game.movePiece("G", 1, "F", 1)
console.log(Game.status());
Game.movePiece("A", 2, "C", 3)
console.log(Game.status());
npm install --save oop-chess