{"adoption": {"forks": 986, "observed_at": "2026-08-28T04:08:47.189403+00:00", "stars": 4388}, "canonical_url": "https://ross.abutalabs.com/products/chessjs", "card": {"archived": false, "artifact_type": "library", "description": "A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection", "domain": ["gaming-tools", "developer-tools"], "enriched": true, "function": ["parser", "sdk", "developer-tools"], "health_score": 91, "homepage": "http://jhlywa.github.io/chess.js/", "language": "TypeScript", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["jhlywa/chess.js"], "name": "jhlywa/chess.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-11T11:07:54+00:00", "repo": "jhlywa/chess.js", "stars": 4388, "tags": ["chess", "game-logic", "typescript", "move-generation", "pgn", "fen", "board-games", "algorithms", "nodejs", "javascript"], "topics": ["chess"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/chessjs", "repo": "jhlywa/chess.js", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:47.189403+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:13.862376+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3708eaa5d6e3f1d591f0de80d9261361c2e3dbda57dad93740ee61aa0a9d2f6f", "fetched_at": "2026-08-28T04:08:47.189403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jhlywa/chess.js"}, {"content_hash": "8a7e59d14201b96caa2febbbb75e10280f5e66f2f18cc6884167005e39130d22", "fetched_at": "2026-08-29T09:09:30.446085+00:00", "kind": "homepage", "missing": false, "url": "http://jhlywa.github.io/chess.js/"}, {"content_hash": "74eb9dbb1c5cb9c8f9af6a042bbb74497e24552143fb76763807d11ab545a94b", "fetched_at": "2026-08-29T09:09:30.455973+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chess.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 28}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6456, "days_push": 22, "days_rel": 445, "gap_med": 42, "n_releases_24m": 6}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}