stackInBigBlinds
Stack size expressed in big blinds: stackChips / bigBlind. bigBlind must be positive.
stackInBigBlinds(stackChips: number, bigBlind: number): number
Import
const poker = require('poker-calculations');
ESM (Node):
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');
When to use
Use when stacks are stored in chips but you want BB-normalized depth—tournament HUDs, push/fold charts, or comparing stacks across blind levels.
How to use
console.log(poker.stackInBigBlinds(15000, 500)); // 30 BB