API reference
300 native functions, grouped below. Each page includes Import, When to use, and How to use.
TypeScript types for decideAction, batch specs, and result objects. AsyncOptions documents optional AbortSignal cancellation on all *Async exports.
poker-calculations/encode subpath
Six pure-JS helpers (packCards, unpackCards, cardStringToDeckIndex, deckIndexToCardString, packPokerState, unpackPokerState) ship on the optional subpath—no extra native exports. See Packed card input and Packed poker state.