As a side project I'm making a browser-based poker client with a Typescript Node.js backend, and am at the point where I need to start classifying/evaluating hands.
There's a lot of stuff out there, and am looking for recommendations.
Things I value in a library:
- Intuitive API/documentation
- Speed
Have read up a bit and can see the 2p2 hand evaluator has some wrappers in various languages. Here's a javascript one I've found:
https://github.com/chenosaurus/poker-evaluator
There are also these npm packages:
https://www.npmjs.com/package/latest-poker-evaluator
https://www.npmjs.com/package/pokersolver
Can anyone recommend one (preferably in JS), or comment on the above ones?