TypeScript packages for building and encoding ESC/POS receipt data.
@piqy/epos-astdefines the receipt tree types and optional runtime validation.@piqy/epos-codepagesprovides ESC/POS character tables. Applications include only the tables that they import.@piqy/epos-encoderconverts a receipt tree to ESC/POS printer bytes with Effect.
This repository requires Node.js 22 or newer and pnpm.
corepack enable
pnpm install
pnpm build
pnpm check
pnpm test
pnpm check:tree-shaking