{"id":21076080,"url":"https://github.com/shaack/cm-chess","last_synced_at":"2025-05-16T06:31:57.868Z","repository":{"id":45132568,"uuid":"270748871","full_name":"shaack/cm-chess","owner":"shaack","description":"It's like chess.js, but in ES6 and can handle variations","archived":false,"fork":false,"pushed_at":"2024-05-07T15:08:40.000Z","size":125,"stargazers_count":28,"open_issues_count":3,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T23:02:51.163Z","etag":null,"topics":["chess","chessmail","es6","javascript","released"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-08T16:52:06.000Z","updated_at":"2024-11-08T03:29:09.000Z","dependencies_parsed_at":"2024-03-18T11:08:30.297Z","dependency_job_id":null,"html_url":"https://github.com/shaack/cm-chess","commit_stats":{"total_commits":166,"total_committers":3,"mean_commits":"55.333333333333336","dds":0.01807228915662651,"last_synced_commit":"e684b97e62d084fc2581ff840d9c065d65bd4310"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Fcm-chess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Fcm-chess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Fcm-chess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Fcm-chess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaack","download_url":"https://codeload.github.com/shaack/cm-chess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225412858,"owners_count":17470462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess","chessmail","es6","javascript","released"],"created_at":"2024-11-19T19:26:24.053Z","updated_at":"2024-11-19T19:26:24.752Z","avatar_url":"https://github.com/shaack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cm-chess \n\nIt is like [chess.js](https://github.com/jhlywa/chess.js) (and is based on an older version of chess.js), \nbut can handle history variations (tree-structured move history), \nPGN header values, Nags and Comments.\n\n## Install\n\n`npm install cm-chess`\n\n## Features\n\n- It has a similar API to chess.js\n- It can handle history variations\n- It can add Nags, Comments and Annotations\n- It is a core compoent of my online chess server [chessmail.de](https://www.chessmail.de) (it works)\n\n## API\n\nFor documentation, see the jsdoc annotations in [Chess.js](https://github.com/shaack/cm-chess/blob/master/src/Chess.js).\n\ncm-chess uses [cm-pgn](https://github.com/shaack/cm-pgn) for the\nheader and history, therefore you have also the full API of **cm-pgn**.\n\nIf I have some time, I will write a better documentation here in this README. :) \n\n## Examples\n\nSee the unit tests for usage examples\nhttps://github.com/shaack/cm-chess/blob/master/test/TestChess.js\n\nAnd also the unit tests of cm-pgn\nhttps://github.com/shaack/cm-pgn/tree/master/test\n\n## Test\n\n[Run the unit tests](https://shaack.com/projekte/cm-chess/test/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaack%2Fcm-chess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaack%2Fcm-chess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaack%2Fcm-chess/lists"}