Monday, March 02, 2026

JS/TS Chess

josefjadrny/js-chess-engine: Simple JavaScript chess engine without dependencies written in NodeJs. It can be used on both, server or client (web browser) and do not need persistent storage - handy for serverless solutions like AWS Lambda. This engine includes configurable AI computer logic. @GitHub
TS, MIT, 0 dependencies

Complete TypeScript chess engine without dependencies for Node.js >=24 and browsers. Includes configurable AI with difficulty levels 1-5.

js-chess-engine - npm 1.7K / week

Simple JavaScript chess engine without dependencies written in NodeJs. It can be used on both, server or client (web browser) and do not need persistent storage - handy for serverless solutions like AWS Lambda. This engine includes configurable AI computer logic.

raydog/deno-chess: A Typescript Chess engine. TS, MIT, 0 dep.

Deno-Chess is a speedy pure-Typescript chess engine. It is packaged for Deno, as well as for the browser. Features include:

  • Move generation / validation, piece logic, check / checkmate detection, draw detection, etc. All the standard Chess-engine stuff.
  • Can both read and write FEN strings.
  • Can both read and write PGN strings.
  • Fast! the game core is built on top of typed arrays, and a whole bunch of bit-math. In the end, it's roughly 10x faster than Chess.js.


brozeph/node-chess: A simple node.js library for parsing and validating chess board position with an algebraic move parser

JS, MIT, using crypto-js

node-chess is an algebraic notation driven chess engine that can validate board position and produce a list of viable moves (notated).

chess - npm 170/week


chess.ts - npm BSD-2-Clause

75/week

lubert/chess.ts: A Typescript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection

chess.ts is a chess library and rewrite of chess.js in Typescript that is used for chess move generation/validation, piece placement/movement, and check/checkmate/stalemate detection - basically everything but the AI.

jhlywa/chess.js: A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection


web visualization "standard"

chessboardjs.com » Homepage

oakmac/chessboardjs: JavaScript chessboard @GitHub

It depends on jQuery v3.4.1 (or higher).



No comments: