@savi2w/chess-tcn
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Chess TCN

Encode and decode helpers for TCN algo from https://www.chess.com/

Usage

import tcn from "@savi2w/chess-tcn";

tcn.decode("mC"); // { from: "e2", to: "e4" }
tcn.encode({ from: "e2", to: "e4" }); // mC

License

This project is distributed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @savi2w/chess-tcn

Weekly Downloads

66

Version

1.0.0

License

MIT

Unpacked Size

3.42 kB

Total Files

6

Last publish

Collaborators

  • savi2w