Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 381 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 381 Bytes

Types and Definitions for a Chess API, provides functions to parse FEN and SAN format.

yarn install nefs --save

import { nt, // types
    p, // pos
    r, // role
    pi, // piece
    b, // board
    side, // castling side
    db, // db
    };

let { poss, pieces } = db;  // retrive positions and pieces from this API

See index.ts for exported names.