My Poker Hand Evaluator in Lua

This is a pure Lua library to calculate the rank of the best Texas Holdem hand out of 5, 6, or 7 cards. It does not run the board for you, or calculate winning percentage, EV, or anything like that. But if you give it two hands and the same board, you will be able to tell which hand wins.

https://github.com/irr/lua-pokerhand-eval