Ross ROSS = Recommend OSS · open-source software intelligence for agents

jhlywa/chess.js

A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection observed · 2026-08-28

github.com/jhlywa/chess.js · homepage · TypeScript · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 97
  • Release rhythm 28
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 42
  • age_days: 6456
  • days_rel: 445
  • days_push: 22
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

4388 stars · 986 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

chess.js is a TypeScript chess library providing move generation and validation, piece placement and movement, and check/checkmate/stalemate detection. It is a headless library with no UI, designed to run in Node.js and modern browsers and pair with board-rendering libraries like chessboard.js.

Use cases

  • validate chess moves in a web chess game
  • generate legal moves for a chess engine or bot
  • detect check, checkmate, and stalemate in an app
  • parse and produce PGN and FEN chess notation
  • build a chess puzzle or training tool
  • play out random or scripted games programmatically

When to choose

  • you need reliable chess rules logic in JavaScript or TypeScript
  • you are building a chess UI and need a headless rules engine
  • you need PGN/FEN parsing with both permissive and strict modes

When to avoid

  • you need a chess AI or engine evaluation - it explicitly excludes AI
  • you need a graphical chessboard or UI components
  • you are working outside JavaScript/TypeScript ecosystems

Facets

library · maturity stable

parser sdk developer-tools gaming-tools developer-tools browser cross-platform chess game-logic typescript move-generation pgn fen board-games algorithms nodejs javascript

3 sources

Member repositories

RepositoryRoleHealth v2
jhlywa/chess.jsmain73

For agents

markdown · JSON · MCP: product_card(name="jhlywa/chess.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem