chess.js module documentation code example Example: chess.js # NPM npm install chess.js # Yarn yarn add chess.js