A TypeScript implementation of the online best-fit algorithm for the 2D rectangular strip packing problem.